WordPress.org

Support

Support » Plugins and Hacks » Product Attributes and Variations formatting help

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.

    http://modelfad.co.uk/shop/test/

    as you can see the drop down list currently lists the variations like this:

    No
    Yes
    White
    Green
    Blue
    Red

    But i want it to view like this:

    No
    Yes
    -White
    -Green
    -Blue
    -Red

    Also, 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 <– Selectable

    does anyone know how i go about formatting the drop down lists like this?

    Regards,

    Martin

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Product Attributes and Variations formatting help’ is closed to new replies.