jpowersdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] changer de siteHi @panthera261,
The first error message you listed is coming from our premium plugin, so I’m not able to provide support in the free forums. You can open a ticket through the plugin itself and I can help you out there.
As for the second message:
Take a look at that line here: https://github.com/yikesinc/yikes-inc-easy-custom-woocommerce-product-tabs/blob/0deccf931153f64977b72d6dd823150d6225dde6/admin/page.yikes-woo-saved-tabs.php#L93. It’s a foreach loop. The variable we’re looping over is supposed to be an array of tabs, and it’s stored as a site option. You can see it being fetched on this line: https://github.com/yikesinc/yikes-inc-easy-custom-woocommerce-product-tabs/blob/0deccf931153f64977b72d6dd823150d6225dde6/admin/class.yikes-woo-saved-tabs.php#L521
If that site option has been modified to something other than an array, or if the
yikes_woo_reorder_saved_tabsfilter (called right before line 93) is being used to change that variable to something other than an array, you will see that warning message. I would start by checking those two things.I can’t give plugin-specific help on question one, but the problem is the same – you’re using an array function on a variable that isn’t an array. I would once again check to make sure you aren’t filtering anything and returning the wrong value, and I’d also check on the value of whatever variable is being sorted using
usort.Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] MailChimp Plug-in FailingHi @ljo14a,
You don’t necessarily need to use a plugin, but that might make it easier if you aren’t familiar. If you are unable to install a plugin, you should reach out to your host.
Alternatively, you can use SFTP or SSH to access your site’s server and locate the debug.log file in the wp-content folder. If the file isn’t there, you may need to set the following PHP constants in your wp-config.php file.
WP_DEBUG, true
WP_DEBUG_DISPLAY, false
WP_DEBUG_LOG, trueI’m not sure what you mean by hovering menu, but you can control plugins by going to yoursite.com/wp-admin/plugins.php if you are logged in as an administrator.
Let me know if that helps,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Linking to a specific tabHi @dandurston,
So this particular task requires custom javascript to work. It’s entirely dependent on your theme and how it works. In your case, I think you want to do the following:
1. Run a function when the page loads that checks for a hash in the current page URL.
2. If the hash is the name of a tab, “click” that tab to activate the content.
3. Scroll to that location on the page.The code you sent doesn’t do that. You also added it as a comment, so it won’t run. The solution in this thread should help: https://wordpress.org/support/topic/open-tab-with-anchor-link/
Jon
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Error: We were unable to find the form data.Hi @dmpp,
Generally, that means that there’s a form saved on your wordpress site but our plugin isn’t able to fetch the details of that form from Mailchimp. That can happen when a form is renamed or deleted in Mailchimp. I’d check your Mailchimp account, or delete that form in WordPress and try re-creating it. You can clear the API cache if you make changes in your Mailchimp account to make the plugin update more quickly.
Let me know if that helps,
JonForum: Plugins
In reply to: [Simple Taxonomy Ordering] missing admin footer-thankyou textForum: Plugins
In reply to: [Simple Taxonomy Ordering] Not working on WP5.9Hi @reallydeej, @nikosmoustakas,
Thank you for bringing this to our attention. I can reproduce this issue and the team will be working on a fix. If you have any further information, you’re welcome to post it here.
Thanks,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] MailChimp Plug-in FailingHi @ljo14a,
That message is displayed in the case of a PHP Fatal Error, and the details of that error will be present in your site’s debug log. If you could take a look at that log and paste the contents of the error message here, I can help you troubleshoot further.
Thanks,
JonHi @johnnyfit,
That is strange. I haven’t experienced that myself, and it is not the intended behavior. How do you normally update the plugin? Do you have automatic updates enabled?
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] No ‘Add a Saved Tab’ buttonHi @jibwallace,
Here is our knowledge base article on using saved tabs: https://yikesplugins.com/knowledge-base/using-saved-tabs/
If you don’t see that button, could you provide an image of what you see instead?
Thanks,
JonHi @chrisneradio,
This can be caused by plugin conflicts as well. Are you using any plugins that override the edit product screen? If so, I’d recommend disabling it temporarily and testing again.
Jon
Hi @remgui,
Shortcodes are supported in the body of the tab, but not the title. If you use the
woocommerce_product_tabshook as shown in this article, you could modify the array of tabs before it’s rendered and set your own title based on the product information.Let me know if that helps,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Capture HTTP_REFERER in an emailHi @walkthedog,
Our plugin exposes several filters you can use to, among other things, modify the data sent to mailchimp: https://yikesplugins.com/knowledge-base/filters/
The
yikes-mailchimp-filter-before-submission-{$form_id}hook is probably the one you want. It receives the$merge_varsparam, which is an array that you could extend to add the current page URL.Let me know if that helps,
JonAh, I see. Deactiving the plugin doesn’t delete any data, so it would still be included in the export. You should be able to control which columns get imported during the import process, however. If you don’t map that column to the tabs meta field, it shouldn’t overwrite anything during the import process.
Jon
With regards to the original problem of the tabs not being carried over during the import process – are you using the built-in WooCommerce CSV Import tool? If so, did you make sure to check the “include meta” checkbox during your export? If not, the tab information will not be included in the export.
As for the question about editing the spreadsheet – I highly recommend that you not do that. The data you are editing is Serialized Data, which is a format used by PHP for storing data. It is not designed to be manually edited, and is incredibly unforgiving if there are any mistakes. Furthermore, invalid serialized data will just result in our plugin not being able to load the (corrupt) information, and therefore it will not display any tabs for that product.
If you absolutely need to edit this information, I’d recommend modifying the import/export process to use another format, such as JSON. There have been a couple of support threads here discussing that. Here is one of them: https://wordpress.org/support/topic/export-not-including-data/
Let me know if that helps,
Jon