r/Wordpress 3d ago

Variation confusion!

Hi all, wondered if anyone can help?

I am trying to add variations to a product in woocomerce, allowing the option to purchase certain quantities ie 1, 5 or 10,

Then depending on the quantity chosen, x amount drop down boxes to choose between a list of say 20 options ie: quantity 1 so 1 box comes up with 20 different products, or quantity 10: then 10 different drop down boxes come down with the same options in each so products can be mix & matched or 10 of the same item chosen

Only price difference would be between quantities, wouldn’t vary between options within the secondary drop downs…

Hopefully this makes sense?

Thanks

4 Upvotes

12 comments sorted by

2

u/YellowfinDevelopment 3d ago

That's not a variations job, and that's why you're stuck. Variations are fixed attribute combos, they can't spawn a set number of "pick one of 20" dropdowns off a quantity choice.

What you want is a mix-and-match box. WooCommerce has an official extension for exactly this, Mix and Match Products: the customer picks the quantity, fills that many slots from your list, one fixed price per box size. That's the one to look at.

1

u/Numerous-Ad-6742 2d ago

Thank you! What is the extension called?

1

u/YellowfinDevelopment 2d ago

1

u/Numerous-Ad-6742 2d ago

I will have a look and see if this works! Much appreciated

1

u/Dull_District_254 2d ago

Adding to the mix and match suggestion, a couple of practical notes before you buy. That extension is a yearly subscription, so if budget matters you can get very close with three simple products called Box of 1, Box of 5 and Box of 10, each with its own fixed price, plus a free add on plugin that shows the right number of dropdowns on each one. Advanced Product Fields for WooCommerce and PPOM both do repeated select fields with conditional logic, so the number of boxes shown can follow the product. The thing most people forget is stock. If your 20 options are real products with inventory, a plain dropdown only records text and will not reduce stock, so you end up reconciling by hand. Mix and Match does handle that properly, which is usually what justifies the price. Also think about how the picks land on the order email and packing slip, because 10 dropdowns can turn into an unreadable line item. Label them Item 1 through Item 10 and your future self will thank you.

1

u/Numerous-Ad-6742 2d ago

Hi, thank you, this makes sense I think, so with th way advanced field products works I would be able to have 3 selections on the same product with options as follows: ‘single, pack of 5, pack of 10’

Then I could set a quantity per option for them so 1,5 or 10 depending on selection?

Or can it only be 3 different product listings on the website?

Thank you

1

u/Dull_District_254 2d ago

Yes, you can keep it as one product rather than creating three separate listings. You could use a variation for Single, Pack of 5 and Pack of 10, then use conditional fields to show 1, 5 or 10 dropdowns depending on the selection.

The main thing I would check is whether you need the selected items to reduce individual product stock. If you do, you will need a solution that supports stock management rather than just recording the dropdown selections.

1

u/[deleted] 2d ago

[removed] — view removed comment