I have been developing a woocommerce store. Now I have a requirement from client which I can't figure out how to do...
The problem is we can use variable product in woocommerce, it's simple but what I need is to use conditional logic for variable products. Let's be more specific.
Our product is a Ear Ring. Which may have 2, 3 or 4 bags . Like the image : ![The Product sample]. So when adding the product to cart, user have to choose 1) Number of Bags (1,2,3 or 4) 2),
If he select 1 pouches then another dropdown will be shown to choose color & style of the bag, if he select 2 bags then 2 dropdowns will be shown, if he select 3 bags, then 3 dropdowns will be shown.
Please see the product image here to understand my requirement clearly :
Basically I need this kind of conditional logic in woocommerce.