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
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.
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 6 years, 4 months ago by
mrjingle.
Hi,
Could you please share your site URL?
Thanks in advance
It’s not a public facing website right now, where can I send you the url? to a support email, maybe?
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 6 years, 4 months ago by
mrjingle.
-
This reply was modified 6 years, 4 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.