Product Attributes and Variations formatting help
-
Hi,
I am new to PHP and new to wordpress.
I have managed to convert an old template into a theme and i have added woocommerce as well (looked to be a nice plugin compared to some of the others i tried).
However, i have ran into a formatting issue on the front end when i have a product with attributes/variations.
I know its somewhat minor but i don’t know how to get the desired result i want.
https://modelfad.co.uk/shop/test/
as you can see the drop down list currently lists the variations like this:
No
Yes
White
Green
Blue
RedBut i want it to view like this:
No
Yes
-White
-Green
-Blue
-RedAlso, if an attribute has a parent option i don’t want the parent to be selectable.
So it should look and work like this:
No <– Selectable
Yes <– Non Selectable
-White <– Selectable
-Green <– Selectable
-Blue <– Selectable
-Red <– Selectabledoes anyone know how i go about formatting the drop down lists like this?
Regards,
Martin
- The topic ‘Product Attributes and Variations formatting help’ is closed to new replies.