WordPress.org

Forums

WooCommerce - excelling eCommerce
Product Attributes and Variations formatting help (2 posts)

  1. MaD2ko0l
    Member
    Posted 2 years ago #

    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/

  2. raoulduke813
    Member
    Posted 2 years ago #

    I would also like to know the answer to this!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic