Support » Plugin: Social Articles » adding price field

  • Hello,

    I want to add new (price) filed in social articles form, can you help me with some directions?

    Thanks for help,


    • This topic was modified 2 years, 5 months ago by alchan.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Broobe


    hi! You can try to replicate the title field which is the simple one. Take a look to includes/sa-form and includes/templates.

    Thanks for using social articles!


    thanks for answer!

    I was try to add price field in wordpress includes (in classes, templates and sa-form.js ) but still don’t getting price field in form.

    I have create price field with same structure like title field (diferent label, placeholder, price config, … ) in sa-form/fields/templates/price/frontend and backend

    in sa-form.js

    function save_sa_price_config(){
        var sa_config_input = jQuery('#sa_price_config');
        var sa_config = JSON.parse(sa_config_input.val());
        update_field_config_data(sa_config_input, sa_config);

    and also changes in sa-form/fields/sa-form-class.php;sa-form-setting-class.php and sa-helper-class.php

    I get error in log:

    [15-Jul-2018 09:31:06 UTC] PHP Notice: Trying to get property of non-object in /var/www/www/wp-content/plugins/social-articles/includes/social-articles-functions.php on line 124
    [15-Jul-2018 09:31:06 UTC] -1

    Can you please take a quick look what is missing in plugin from weetransfer?

    Thanks for help,


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘adding price field’ is closed to new replies.