jpowersdev
Forum Replies Created
-
Hi @himanshu440,
It looks like the whole page is broken on desktop, not just the tabs. The HTML for the product stops after the product image. It’s not a styling issue.
This seems like an issue with your theme, unless there’s some plugin you have which is causing desktop and mobile to behave differently from one another. I’d reach out to your theme developer if you don’t have any plugins like that.
Jon
Hi @joycegrace,
Our plugin should work with PHP 8. I have been using it on local PHP 8 environments for some time without issue. If you do run into problems, please let us know.
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Short code creation hookHi @roneymendes,
No, our plugin doesn’t provide any hook for creating shortcodes. That being said, you can create a shortcode separately and add it to the tab content – that does work.
Jon
Hi @urka,
For premium-related questions, if you can’t open a support ticket, please fill out the following form: https://yikesplugins.com/about/contact/. We can’t answer premium questions here.
As for the layout issues, that’s something that you need to handle using CSS in your theme. One thing I notice is that each tab (in this theme) is adjacent to one another, so you need to make sure the tab wrappers don’t have any additional margins or padding that might be interfering with the positioning. There is probably something flex-related going on.
If you need additional help with styling your page, you’ll need to reach out to your theme developers or find a frontend developer to help you.
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] custom tab content show in main tabHi @aquamar,
It looks like a shortcode (presumably provided by your theme) is not working correctly. I see the following markup in the HTML of your page:
[/x_tab] [x_tab class="cross-flow-emulsification-unit_pane"]That looks to me like it’s supposed to close one tab and start another, but the shortcode is not being converted to HTML. You might want to reach out to your theme developer for troubleshooting.
Let me know if that helps,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Making tab editable with elementorHi @eventamo,
Our plugin adds additional fields to the edit product page that Elementor isn’t aware of. As a result, Elementor won’t be able to provide an editing interface for those fields. If you want access to plugins such as ours that extend the edit product page, you might not be able to use a page-builder to edit those products.
Alternatively, some people have had success with using the Shortcode generating features of page builders in combination with the regular edit product page to allow inserting Page Builder content in regular TinyMCE fields.
let me know if that helps,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] PHP Notice: Undefined indexHi @thomascbs,
The only way I can think the ID would be invalid on this line is if the tab meta for that product was edited and somehow corrupted. Does this happen on multiple product pages or just one?
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Hide Custom TabsHi @paigettie,
Yes, that is correct! You figured it out 🙂 Glad I was able to help point you in the right direction.
Let us know if you need anything else.
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Custom Tab content not displayingHi @andybarn56,
It looks the HTML is broken, which is preventing the tabs from displaying as they should. I believe you have an extra closing </div> tag at the end of the related products tab content.
Let me know if that helps,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Custom product tabs not showingHi @matigka,
It doesn’t look like your theme uses tabs on the product page. Our plugin extends the WooCommerce tabs, but if your theme doesn’t use them, our plugin won’t change that. You can confirm this by switching to a core theme and see if the tabs are displayed.
If you want tabs, you’ll either need to pick a theme that includes tabs on the product page or work with your theme developer to add (or potentially enable, if support already exists) that feature.
Let me know if that helps,
JonForum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Hide Custom TabsHi @paigettie,
Instead of
yikes_woo_filter_all_product_tabs, try using thewoocommerce_product_tabsfilter as shown here: https://woocommerce.com/document/editing-product-data-tabs/#section-1. You’ll also need to update the callback function to only accept one parameter;$tabs.Let me know if that helps,
JonHi @sparky672,
Glad you figured it out.
It’s just a PHP notice, not an actual error. If you find the log messages bothersome and would like to investigate further, you’re welcome to open a pull request addressing them.
Thanks,
JonHi @sparky672,
It’s in the right sidebar on the edit form page. The warning is saying that it’s checking for the value of the “ajax” setting, but that value isn’t defined.
Jon
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Hide Custom TabsHi @paigettie,
You can do that inside the filter function you’ve already defined, presumably in your
functions.phpfile.You’re welcome!
Jon