I have products that are sold in bags or cases. for example, a bag of 3 for $10 or case of 10 for $20
they are not sold individually.
What is the best way to represent that in magento?
Solved! Go to Solution.
The easiest way would be to create 2 different simple products. The first being a bag of 3 for $10, and the second being a case of 10 for $20.
However, if your issue is inventory control, and you don't inventory bags and cases separately, that would become more complex.
If your quantities followed suit (ex. 2 in a bag, and 10 in a box), you could potentially use tiered pricing along with qty increments, but with 3 in a bag and 10 in a box, that won't work. The increments don't align (3, 6, 9, 12 vs 10, 20, etc.)
The best native solution would be to create bundled products. You'd start by making a simple product of the individual item, which you would set to not be visible individually. In other words, it wouldn't have it's own product display page available, so no one could try to buy just 1 unit.
You'd then create a bundle for the bag of 3 with a fixed quantity of 3 units. Finally, you'd create another bundle for the box of 10, with a fixed quantity of 10 units.
https://docs.magento.com/user-guide/catalog/product-create-bundle.html
Inevitably, you'd want to clean up the layout a bit, but functionally, this is usually a good way to go.
Best of luck!
Yes!
For that, I'd typically set up two different simple products, but instead of using a Bundled Product page, I'd go with one of the other available options. For instance, you can display both simple products on a single product display page by using a grouped product page
https://docs.magento.com/user-guide/catalog/product-create-grouped.html
That would usually be my preference.
Alternatively, you could give each a unique attribute and create a Configurable product with them. In this case, the attribute might be something like size or packaging, with attribute values of "bag" and "box".
https://docs.magento.com/user-guide/catalog/product-create-configurable.html
The easiest way would be to create 2 different simple products. The first being a bag of 3 for $10, and the second being a case of 10 for $20.
However, if your issue is inventory control, and you don't inventory bags and cases separately, that would become more complex.
If your quantities followed suit (ex. 2 in a bag, and 10 in a box), you could potentially use tiered pricing along with qty increments, but with 3 in a bag and 10 in a box, that won't work. The increments don't align (3, 6, 9, 12 vs 10, 20, etc.)
The best native solution would be to create bundled products. You'd start by making a simple product of the individual item, which you would set to not be visible individually. In other words, it wouldn't have it's own product display page available, so no one could try to buy just 1 unit.
You'd then create a bundle for the bag of 3 with a fixed quantity of 3 units. Finally, you'd create another bundle for the box of 10, with a fixed quantity of 10 units.
https://docs.magento.com/user-guide/catalog/product-create-bundle.html
Inevitably, you'd want to clean up the layout a bit, but functionally, this is usually a good way to go.
Best of luck!
thank you, very helpful answer
My pleasure!
I don't need inventory control, but I would like it if they show up as one product and you select which packaging you want. can I do that?
Yes!
For that, I'd typically set up two different simple products, but instead of using a Bundled Product page, I'd go with one of the other available options. For instance, you can display both simple products on a single product display page by using a grouped product page
https://docs.magento.com/user-guide/catalog/product-create-grouped.html
That would usually be my preference.
Alternatively, you could give each a unique attribute and create a Configurable product with them. In this case, the attribute might be something like size or packaging, with attribute values of "bag" and "box".
https://docs.magento.com/user-guide/catalog/product-create-configurable.html
I hate to bug you on a completely different topic, but I am getting zero answers on my other post. Do you have any insight on this topic:
Every couple of days, i get the Woops page not found error when logging in as admin to backend. I read the online suggestions and clearing the cache does fix the problem (php ./magento cache:clean).
but then the problem reappears after a day or 2.
mod_rewrite is working, htaccess file is configured correctly, and once cache is cleared admin login works fine.
why do I have to keep clearing the cache, how do I make this reliable for production?