• Resolved glabideecomunicative

    (@glabideecomunicative)


    Hello,

    I’m planning to translate my website in a few different languages. I use your plugin to add custom tabs to the products and every product has a different number of tabs and different tab content. The problem that I’m facing is that when I duplicate the product in another language, all the basic WP stuff gets copied (name, description, short description, price etc) but the tabs don’t. The Custom Tabs screen stays empty. This means that I have to re-add all the tabs one by one and then translate them.
    Is there a way to copy the tabs (and maybe even tab content) when I duplicate the product?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @glabideecomunicative,

    We have code in the plugin to support duplicating both saved and custom tabs when a product is duplicated. Maybe this is no longer working. How are you duplicating your tabs? Is it through WooCommerce’s duplicate button? Or is it through WPML?

    Let me know.

    Thank you,
    Kevin.

    Thread Starter glabideecomunicative

    (@glabideecomunicative)

    I am duplicating the products by selecting the other language from the menu at the far right in this picture: https://imgur.com/a/SpaDzwA

    WPML’s duplicate button is for some reason not present and WooCommerce’s duplicate button (this one? https://imgur.com/a/q84zjE7 ) simply duplicates it in English, and I want to translate it

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Yeah our duplication code is tied to the WooCommerce duplicate button that you showed (https://imgur.com/a/q84zjE7). Looks like we’ll need to add support for WPML duplication too. I’ll make a ticket for that.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hi @glabideecomunicative,

    We’ve added this to our to-do list.

    Thank you,
    -Tracy

    Thread Starter glabideecomunicative

    (@glabideecomunicative)

    Thank you. In the meantime, I’ve found a workaround. I’ll share it here in case someone finds this thread.

    What I’m doing now is: duplicate the product using the WooCommerce Duplicate button, change the language (using WPML’s menu in the sidebar), translate everything, publish and then click ‘Connect with translations’ under the language selection dropdown and search for the original product. By doing this I don’t have to re-add the tabs and the 2 different versions are still connected, and it still takes less time than re-adding all of my custom tabs to each product

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Translating tabs with WPML’ is closed to new replies.