• Resolved mrjingle

    (@mrjingle)


    Hi,
    I’ve tried moving my custom fields from a dev environment to staging but once the import is over the custom fields form area is empty for every product form. I’ve tried using the regular wp import/export plugin and WP All Import Pro/ WP All Export, they all give the same end result. do you have any suggestion?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author acowebs

    (@acowebs)

    You can export the forms by going wordpress dashboard Tools>>Export
    here choose the item “Product Form” . You can import it in live site by going Tools>>import>>Wordpress

    Thread Starter mrjingle

    (@mrjingle)

    Unfortunately, as I said in my previous message, using the default wordpress export tools isn’t working. When imported the forms are shown as blank. Some kind of JSON parsing error when reimported, by looking at the browser console log.

    I’ve tried fixing it by literally copying the content of the _wcpa_fb-editor-data DB meta_value from dev to staging, and while the fields appear correctly, once I add a product inside the cart the fields are missing from the checkout and order page. the staging environment is a multisite install, could this affect the inner workings of the plugin?

    Thanks for your help.

    Thread Starter mrjingle

    (@mrjingle)

    Specifically regarding the last error, the plugin gets confused on line 300 of class-wpca-front-end.php, where this code:

    if (((wcpa_get_option('show_meta_in_cart') && !is_checkout()) || (is_checkout() && wcpa_get_option('show_meta_in_checkout'))) && isset($cart_item[WCPA_CART_ITEM_KEY]) && is_array($cart_item[WCPA_CART_ITEM_KEY]) && !empty($cart_item[WCPA_CART_ITEM_KEY]))

    returns false even if I can see the values inside $cart_item[‘wpca_data’][0] using xdebug. Not entirely sure what’s triggering it, though.

    • This reply was modified 4 years, 9 months ago by mrjingle.

    Hi,

    Could you please share your site URL?

    Thanks in advance

    Thread Starter mrjingle

    (@mrjingle)

    It’s not a public facing website right now, where can I send you the url? to a support email, maybe?

    Thread Starter mrjingle

    (@mrjingle)

    Sorry, that was just a silly error on my part – Didn’t realize that on a multisite wordpress config the settings are per-site and not globally handled trough the main wordpress install.

    Regarding the import/export mismatch, the issue still remains but I can fix it by manually porting over the right sql fields.

    • This reply was modified 4 years, 9 months ago by mrjingle.
    • This reply was modified 4 years, 9 months ago by mrjingle.

    Hi,

    We have strict instructions not to share the personal/external links and contact details on this forum. That is why we can’t give you our forum details.

    We hope your issue will be fixed by yourself and we can consider this ticket as resolved.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘moving fields from one wordpress installation to another’ is closed to new replies.