Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Ecommerce with WordPress and WooCommerce Managing Products in WooCommerce How Variable Products Work in WooCommerce

Super Variable Variations

So in this section Zac Gordon shows us how to add a product with some variables but these variables are mostly if not completely independent.

For a shop I am working on one particular product has a few linked variables this product is a Do Bak (Martial Arts Uniform)

It would have a variable for 'Size' ranging from 000 - 8 (000, 00, 0, 1, 2, 3, 4, 5, 6, 7, 8) and a variable for Lapel Color/Rank like White, Green, Red, Midnight Blue. Lastly a variable from Weight like 8oz, 12oz, 14oz, 18oz

But they are related variables. When you choose the uniform you should select the Lapel Color and with in that Lapel Color you should choose the Weight and of course your Size.

Am I going to need to break this out in to separate products or will WooCommerce support that level of Variations?

sidenote: the difference between an 8oz and an 18oz uniform after an hour of training is murder.

1 Answer

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Play around with the variable products the best you can. You may be able to make it work, but also possibly not out of the box.