[Resolved] Blocksy theme extra product tabs are not translated
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is using the Blocksy Theme with WooCommerce and is unable to translate additional product tabs created by a pro feature of the theme. These custom tabs do not appear in the Arabic version of the product page, while standard WooCommerce product tabs do.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
I am using Blocksy Theme and WooCommerce for my online store. This theme has a pro feature for creating additional product tabs by creating a separate post for each tab.
I have not been able to use WPML to translate those extra Product Tabs. They just don't show on my Arabic version of the page. The standard WooCommerce Product tabs do show and translated
Thank you for following the steps mentioned in the chat.This seems to be a compatibility issue between the Blocksy theme and WPML.
To be able to report the compatibility issues we need to replicate the issue on a clean installation.
I created a clean installation of WordPress, WPML, and all necessary WPML add-ons.
I also installed Woocommerce and setup Woocommerce Multilingual and set it up. I also added a few sample products.
You can access the WordPress dashboard using the link below:
hidden link
Kindly follow the steps below:
- Install Blocksy theme.
- Install the necessary plugins for Blocksy theme.
- Try to replicate the issue.
This will help us to report the probable issue to the compatibility team and solve the possible problem faster.
Hello Christopher. I can follow the required steps except for enabling the Product Tab feature because it is a PRO/PAID feature on Blocksy theme. I have already used my license with Blocksy on my own site to enable Product Tabs. I don't know how to reproduce the issue of Product Tabs on the site you sent me!!!
If using Yith WooCommerce Tab Manager is fully compatible with WPML, I can use it instead of the Pro feature of Blocksy Theme since Yith WooCommerce Tab Manager is a free plugin.
I am saying that if and only if we cannot reproduce the Product Tab issue on the site you sent me for the reasons mentioned previously.
Hello Christopher. I managed to reproduce the issue on the website you sent me. When you click on the Shop Menu, you will find two products, Bone Renewal and Rapid Resuce. I translated the contents of the two products and then created two 3 Custom Tabs. The first custom tab was labeled WARNING! with instructions for all products and was assigned to the two products. The second custom tab was labeled SUGGESTED USE with instructions for Bone Renewal and was assigned to the product Bone Renewal. The third custom tab was labeled SUGGESTED USE with instructions for Rapid Rescue and was assigned to the product Rapid Rescue.
As you can see, we got the same problem on the Arabic page. The custom tab with the label WARNING! was not translated and the custom tab with the label SUGGESTED USE did now show up at all.
- Open the app/public/wp-content/plugins/blocksy-companion-pro/framework/premium/extensions/woocommerce-extra/features/custom-tabs/feature.php file
- Replace the following snippet around line 139:
- Open the app/public/wp-content/plugins/blocksy-companion-pro/framework/features/conditions/rules-resolver.php file
- Inside ConditionsRulesResolver::resolve_single_condition(), replace the following snippet, around line 364:
Yes, this code resolved my issue fully and satisfactorily. My Blocksy Premium Custom Tabs are working smoothly and translating them has become as easy as translating anything using WPML/WCML.
Many thanks to you and to your team for your help and high professionalism in attending to my request and solving my problem.