Hi there @alexanderschmidt
I hope you’re well and thanks for your question!
So basically, I could create 1 variable product in WooCommerce and add attributes to the product for question count and language, so overall, I would have 6 variations, which is fine.
What I want to achieve is that whenever I select a language swatch it switches to that variation of that product aaaaand it also switches the language of the product itself (like the title, description and so on).
So my question is, how this can be achieved? Is there a possibility?
I think the main issue is in this part, correct?
What I want to achieve is that whenever I select a language swatch it switches to that variation of that product aaaaand it also switches the language of the product itself (like the title, description and so on).
I am not sure if you use a translation plugin. If so, you might want to disable that plugin and check again if then when you select a language swatch, it doesn’t translate the product info itself (title/description/etc).
Look forward to your confirmation 🙂
Hi Sol
I am not sure that I get it.
I am using a translator plugin, but how is that affecting the swatches?
When I am editing a variable product, I can define different attributes on which the variations are based.
But where can I set it up that thet description or title of a product also changes when the respective variable of it is selected?
Cheers,
Alex
Hi @alexanderschmidt
I am not sure that I get it.
I am using a translator plugin, but how is that affecting the swatches?
When I am editing a variable product, I can define different attributes on which the variations are based.
But where can I set it up that thet description or title of a product also changes when the respective variable of it is selected?
That behavior seems to be a conflict, selecting a variation on the front should not trigger a change of the language of the product.
So please try to disable the translator plugin and see if you are still seeing the issue.
If the issue persists, I would suggest you contacting the developer of the translator plugin.
I hope that helps.
Yes, thank you very much. I will give that a try.
Cheers,
Alex
Plugin Support
slash1andy
(@slash1andy)
Automattic Happiness Engineer
Hey again!
Were you able to check on this and see if it was indeed a conflict?
Hi,
I found a solution for my case. It wasnt connected to my language plugin.
I created the variable products and each of them ad its own variable description in the different languages.
Then I found a code, which replaces the product description with the variable description, thus when I changed the variable from the english version to the german version, the variable description also changed but it looks like the actual descitpion is changing on the product page.
Cheers,
Alex
Plugin Support
slash1andy
(@slash1andy)
Automattic Happiness Engineer
OK, sounds like you are sorted now with your multi-language plugin.
Marking as resolved.
Have a great one!