Different product attribute names by condition

[ad_1]

Hey,

Maybe someone knows any plugin or could recommend the easiest way to solve such a problem. I have a variable product that has a size attribute. I would like to add country buttons to it like the UK, US Germany, and Italy and then if I press one of the countries the text of size variations would change accordingly. Let’s say I have 60, 65, 70, 75… sizes (let’s say Italian). If I press the button Germany I would like 60 to change to 50, 65 to 55, and so on. Numbers don’t matter really. What matters is that by pressing different buttons I would be able to manipulate variation text. I am not sure if any plugin exists. I couldn’t find it. I was also thinking of adding an ACF custom field to attributes and then maybe adding that attribute as a data field to the element and then manipulating the text with jQuery. Maybe someone did something like that and could share the best solution.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer