Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Show selected variant name on product page

$
0
0

Replies: 0

I have created a ‘Details’ section on my product page where I have added the dimensions using a short code which works good. I would also like to display the color name that is selected through the ‘Color’ attribute, but I cannot find a code/ short code for this.
What I am trying to achieve is the following:
Size: 2×2 in (works perfect)
Color: ‘should be color selected and should change accordingly’. So if yellow is chosen it should say yellow and if pink is chosen it should say pink.


Viewing all articles
Browse latest Browse all 59525

Trending Articles