I only want to sell products per tray/box.
Let’s say there are 6 bottles in a tray, then I only want to sell these bottles per 6 pieces. However, the price of the product must be shown for 1 bottle. If the customer puts the bottles in his/her shopping cart, this should only be possible in increments of 6.
I have made some kind of workaround that when I enter a number in the ‘vendor’ field of a product, it only adds this product to the shopping cart per that amount. So with the example of the bottles, I entered a 6 in the vendor field.
On the front end it looks like this:
When a customer presses the ‘+’, it flicks to 12, then 18, 24 and so on. The price of the product will be multiplied by the amount added to the cart.
The problem is that this sometimes gives errors when customers try to check out. It refuses to accept the amount and keep saying that the customer should change it.
Translation: ‘Please enter a valid value. The two closest valid values are 12 and 24.’
Deleting the product from the shopping cart and re-adding it helps, but it then sometimes shows this error immediately for another product in the cart. Which makes it very frustrating for customers to finish their order.
TLDR: I’m not very good with custom code so I am looking for an app that lets me sells products only per set amount, but shows the price in the store of just 1 piece.
Let me know if you need more info in order to help.

