Support » Plugin: FoxyShop » Product Variation Dependencies vs. Inventory

  • Resolved zanedefazio

    (@zanedefazio)


    I am trying to setup a product with 3 colors and 4 size variations. I need a customer to be able to choose their preferred color and size using 2 separate dropdowns. Instead of having a dropdown with the following to correspond to the correct product codes for inventory and order filling purposes:

    Shirt Black Small
    Shirt Black Medium
    Shirt Black Large
    Shirt Black X-Large
    Shirt White Small
    Shirt White Medium
    Shirt White Large
    Shirt White X-Large
    Shirt Red Small
    Shirt Red Medium
    Shirt Red Large
    Shirt Red X-Large

    Is this capability built in?

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

Viewing 1 replies (of 1 total)
  • Plugin Author sparkweb

    (@sparkweb)

    Hi Zane,

    There’s two ways to do this. First, you could setup codes like this:

    Base Code: shirt

    Color:
    Black{c+_bl}
    White{c+_wh}

    Size
    Small{c+_sm}
    Large{c+_lg}

    And you’d end up with a computed code of shirt_bl_sm for a small black shirt. That doesn’t solve your item code problem, though, so if you wanted to solve that, you could do something like this:

    Select Size:
    Small{dkey:sm}
    Medium{dkey:md}
    Large{dkey:lg}

    Select Color: (with a dkey of sm)
    Black{c:sku for small black}
    Red{c:sku for small red}

    Select Color: (with a dkey of md)
    Black{c:sku for medium black}
    Red{c:sku for medium red}

    etc….

Viewing 1 replies (of 1 total)
  • The topic ‘Product Variation Dependencies vs. Inventory’ is closed to new replies.