- This topic has 4 replies, 5 voices, and was last updated 13 years, 7 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Minimum orders
Tagged: minimum order, Order Limit
I have a site with 4 products. Due to mail costs I want a minumum order of two products, (two of any of the four). All products are the same price, and P&P is the same for all of them.
Can I do this?
The WP eStore plugin does not let you set a minimum order. However you could manually tweak the code to accommodate this.
Happy New Year,
Ivy
Hi Ivy,,
It looks like c21web didn’t continue with this question.
How can the code be tweaked to add a minimum quantity for each product? My products don’t cost the same, I don’t want to make a bundle,, it is just that I want to have a minimum order for some products.
Thanks
Gabriel
This tweak is not a one line tweak so you need to understand PHP coding before you can do it.
Here is what is involved in this tweak. When a product is added to the cart you make it so it adds the minimum quantity (e.g. 3) to the cart by default. Then you need to make sure that someone doesn’t change the quantity back to 1. So when they change the quantity you only let them change it if the value is greater than the minimum order quantity value otherwise you show them an error saying “You must order the minimum quantity”
I am not a php expert so I will not try to make this “tweak”. Just posting to let you know I also would like a minimum order feature if you are prioritizing future work.