jpowersdev
Forum Replies Created
-
Hi @reihuy,
I went through the same process as the above, but was able to successfully submit the form shown in the video. That being said, that form is not provided by our plugin. It is part of Mailchimp, we are just providing a link to it in our email.
You can manage that form and other forms using the Mailchimp Form Builder, as shown here: https://mailchimp.com/help/how-the-form-builder-works/
Let me know if that helps,
JonHi @annafjmorris,
When you add a new saved tab in Firefox, the code to disable that editor does not seem to fire correctly. I’ve been able to reproduce that bug, and we have it on our bug tracker.
I have not been able to reproduce the “disappearing edit windows” bug. That one sounds like conflicting JS on the admin side of your site. If you right-click a broken page and hit “Inspect”, do you see anything in the “Console” tab that looks like an error?
Also, I’m sorry, I was not able to log in with the account you set up. Would you be able to enable email, so I can send myself a reset password link?
Thanks,
JonHi @neighbour,
Could you provide a little more explanation on what’s not working? A link to the site in question would also be helpful.
Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Export not including dataHi @danidub,
Interesting, okay. I wonder if that’s been changed in the last few months since the article was written. I’ll revisit that.
Thanks for coming back and letting us know your solution. Were you able to perform a successful import? Are the tabs showing up on the new site?
Jon
Hi @reihuy,
I was able to go through the full process of signing up, updating my profile, and unsubscribing. I’m not sure what the problem is, could you provide more detail?
Thanks,
JonHi @annafjmorris,
Can you double-check the email address? jon@yikesinc.com. I haven’t received anything yet.
Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Export not including dataHi @danidub,
It looks like it’s not escaping the HTML correctly. As you said, each ” needs to have a \ before it, and not all of them do.
I’m not really sure why that would be the case. You can look at the wordpress escaping functions (wp_slash, wp_unslash, esc_js, wp_json_encode, etc.), or check what WooCommerce is doing when reading in the csv file.
wp_json_encodeshould escape all quotes in the string, andjson_decodeshould unescape them when converting to an array.Let me know what you find,
JonHi @annafjmorris,
If you’d like to, you can send an invite to jon@yikesinc.com. That being said, I’m happy to wait for your team’s report.
Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Export not including dataHi @danidub,
Correct, you are almost there!
If the JSON isn’t being decoded, you may just want to add some logging between the decoding and the saving to see what’s happening. You can run the import with just a single product to avoid drowning in logs. Something like
error_log(print_r($data, true));will output the entire row, so you can see all the keys and their format in your site’sdebug.log.I don’t see anything immediately wrong, which is why I’m suggesting the logging.
Let me know what you find,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Export not including dataHi @danidub,
The meta key is
yikes_woo_products_tabs. You may want to update the column and hook names. You can use the knowledge base article as a reference for the names.Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Export not including dataHi @danidub,
This CSV looks like the same invalid data from before, with the incorrect byte lengths in the serialized data.
The code in the article I sent is only the import process, you’ll need to write some code that modifies the export to be JSON instead of serialized data. This link has examples for modifying the exported data – https://github.com/woocommerce/woocommerce/wiki/Product-CSV-Importer-&-Exporter#adding-custom-export-columns-developers.
Let me know if that helps,
JonHi @annafjmorris,
It should disappear if it’s checked when you hit ‘update.’ It gets converted to a regular tab when you save.
Let me know what they find,
JonHi @annafjmorris,
Here is what I’m seeing:
In Firefox, when I initially add the saved tab, it is not disabled like it should be. On subsequent loads, the box is disabled. In both scenarios, I can see the visual and text versions of the TinyMCE editor.
In Chromium, the box is correctly disabled the first time I load the editor, and on subsequent loads, it is the same. I can see both visual and text editors.
I’m on Linux as well, so that is probably not the issue here. Do you see anything in the browser console? This is most likely some sort of javascript issue. Are you using any plugins that are minifying or otherwise concatenating JS files on the admin side?
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] the symbols in my contentClosing in favor of your most recent thread – https://wordpress.org/support/topic/the-in-my-product-description/
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] the symbols in my product descriptionClosing in favor of your most recent thread – https://wordpress.org/support/topic/the-in-my-product-description/