jpowersdev
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Custom Product Tabs for WooCommerceHi @jladkins0824,
That makes sense, page builders will often override certain core features of WordPress and WooCommerce to allow them to do what they do.
We actually have a brief article on this topic. There is a setting you can enable that causes our plugin to behave differently in an attempt to remain compatible with page builders. I can’t guarantee it will work, but it’s worth a shot.
Let me know if that helps,
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Custom Product Tabs for WooCommerceHi @jladkins0824,
I understand your frustration, and I’m sorry that you’re having trouble. I wasn’t able to reproduce the problem, but I may be able to help you troubleshoot.
The usual way of troubleshooting conflicts is as follows:
1. Switch your theme to one of the core themes, such as 2020 or 2021.
2. Disable all plugins except for WooCommerce and Custom Tabs for WooCommerce
3. Make sure our plugin is working in this state. If it does, you know there’s a conflict.
4. Re-enable your theme, check if it works. If not, the conflict is with your theme.
5. Start re-enabling plugins until you find the one that breaks it.Once you know where the conflict is, you can make a plan for what to do next.
Let me know if you have any questions,
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Add tabs data to Woocommerce EmailHi @vidhugoel,
That functionality isn’t part of the plugin but can be accomplished using code.
Something like
get_post_meta( $product_id, 'yikes_woo_products_tabs', true )will get you the list of tabs assigned to a product. Then it’s just a matter of parsing that information and displaying it in your email template.Let me know if you have any questions,
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Cant see theme tabsHi @diffon,
The two tabs you mention are built-in to WooCommerce. The pro version of our plugin adds the ability to hide those tabs, as well as much more.
You can also use a code snippet to remove certain tabs, as outlined in the WooCommerce docs.
Thanks,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Add a tag based on UTM parametersHi @9stepsemail,
That error looks to be the response you are getting from the Mailchimp server.
Unfortunately, since this is not functionality included in our plugin, I’m not really able to provide support. I’m just speculating based on what I see here: https://mailchimp.com/developer/api/marketing/list-members/add-member-to-list/
It’s possible that the tags need to be created before you add them to a member.
Jon
Forum: Plugins
In reply to: [Easy Forms for Mailchimp] Add a tag based on UTM parametersHi @9stepsemail,
Yes, that looks correct. That code will add the value of
$_GET['utm_campaign']to the list of tags. You should then be able to see and use that tag on your Mailchimp dashboard.Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Master Tabs DissapearHi @salvaweb,
I’m sorry to hear that you’ve lost your tabs. It’s possible that the WooCommerce update was the culprit, but that is not normal behavior.
What version of WooCommerce were you on before updating? What version of our plugin? Did you update any other themes or plugins at the same time?
Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Reduce spacing between product tabsHi @elements123,
Glad to hear you’re enjoying the plugin!
Changing the spacing and layout of the tabs is not something our plugin does. It just adds to the built-in list of WooCommerce tabs. The layout is defined in your theme and can be changed using CSS.
I’d recommend reaching out to your theme developer for help changing the style of your product page.
Jon
Great! Glad you got it working.
Take care,
JonHi @alisoncutler,
I’m sorry, that’s my mistake.
is_admin()is not the correct function to call, it’s actuallycurrent_user_can('administrator').If you update it to say
if ( ! current_user_can('administrator') ) {it should work.Thanks,
JonHi @alisoncutler,
First, I would try changing the tab name in the code to
notesinstead oftab-notes. See if that works.If not, since the tab is added by another plugin it’s possible that the hook won’t work. If the other plugin provides a similar hook, you can try that. You can also try the default WooCommerce hook, named
woocommerce_product_tabs.You’d need to update it like this:
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { if ( ! is_admin() ) { unset( $tabs['notes'] ); } return $tabs; }- This reply was modified 5 years, 5 months ago by jpowersdev.
Hi @alisoncutler,
You can control the visibility of your tabs by adding a snippet like this to your functions.php file. It will remove the tab called
tab-nameif you aren’t an administrator.add_filter( 'yikes_woo_filter_all_product_tabs', function( $tabs ) { if ( ! is_admin() ) { unset( $tabs['tab-name'] ); } return $tabs; } );If you aren’t comfortable editing your functions.php file, you can always use a plugin such as this one.
Let me know if you have any questions!
Thanks,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Clicking tabs scrolls to top of page!Hi @acwebdesigner,
I have noticed this issue in a few places. WordPress 5.6 came with a new version of jQuery, which has caused problems with some themes.
Our plugin doesn’t add any additional CSS or JS when the page loads, we just add tabs to the built-in WooCommerce tabs. I’d recommend updating WooCommerce (and any related plugins or themes) to the newest versions. Make sure you have a backup in place before doing so.
If you’d like to supply a link to the problematic page, I can take a look.
Thanks,
JonHi @hongpham,
Yes, I see the same thing happening. It looks like your translation plugin is translating more than just text. It is also translating class names and ID’s, which changes the HTML structure of the page. That is interfering with the WooCommerce tabs and breaking the links. If there is a way to exempt that content from the translation, it would fix the problem.
As for removing the title from the tab content, there is an option in the pro version of the plugin which allows you to hide the title. You can find a link to the pro version here.
Thanks,
JonForum: Plugins
In reply to: [Easy Forms for Mailchimp] Pre-populate field with post value