Assign attribute twice
-
Hello dear Woo supporter π
Suppose I have a product, a pair of glasses. These glasses gets the property color for creating the variations.
Now we have two glasses that are black and differ only in nuances. So I give the attribute black to both glasses. So that customers can filter for black glasses.
This does not work like this. When the variations of a product is displayed only once black.
Anybody have an idea how I can assign an attribute value twice, to different variations.
On the product page I have already found a trick. Using foreach loop I search the variable $available_variations and append a ‘_’ to the duplicate attributes.
Now I have a plugin that displays the variation on the category page.
Unfortunately, the link to this variation, from the category page, looks like this: ‘?attribute_pa_color=rose’. Therefore I can’t get to the second variation black, because the link looks the same.Happy christmas days!
The topic ‘Assign attribute twice’ is closed to new replies.