• Resolved jurassicfrog

    (@jurassicfrog)


    Hey there… anyone know if you can exclude variants with FoxyShop? Essentially I’m trying to set up products (lamps in this case) with multiple variations like color and size, however not all of each size is available in every color. For instance a specific model of lamp may come in blue and green in one size and blue, green and red in another.

    So far I’ve ended up splitting them into different products based on size and having color as the only variant but it would be nice if there was a variable that could be passed (like the price etc.) that would indicate that this variant isn’t available with another variant and would therefore remove it from the appropriate list… like, if color were the first variant and size were the second and you could pass something along the lines of 12in{p+2|excl:color,1,3,4} and it wouldn’t allow the variants in lines 1 3 and 4 of the color choices for the 12″ model.

    Thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sparkweb

    (@sparkweb)

    Currently the way to do this is to use dkeys to show/hide variants. So you would setup a variation called “Size” which would only be available when “Blue” was selected. This way you can really be specific about which options show up where.

    Thread Starter jurassicfrog

    (@jurassicfrog)

    Ohhhhh… Totally makes sense. You rock. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product Variants – excluding based on variant combinations’ is closed to new replies.