Page 1 of 3
Limit Product Quantity
Posted: Sat Jul 03, 2021 11:32 pm
by ThatSweetShop
Hi, I was wondering how I can limit the quantity of a product a customer can order. The reason for this is I want to do a free + shipping promotion so customers can get item for free but pay for shipping only.
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 6:02 am
by Kofod95
Not entirely sure how I would do that, but you could take
this (giftwrap-addon) and alter the text to make it a product. Eventually with a link to an info page that describes the product (unless you sell the product normally as well, then you could link to that product page).
//Daniel
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 7:22 am
by Fiber
ThatSweetShop wrote: ↑Sat Jul 03, 2021 11:32 pm
Hi, I was wondering how I can limit the quantity of a product a customer can order.
admin/configuration/maxium values/Product Quantities In Shopping Cart/
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 9:25 am
by 14Steve14
ThatSweetShop wrote: ↑Sat Jul 03, 2021 11:32 pm
Hi, I was wondering how I can limit the quantity of a product a customer can order. The reason for this is I want to do a free + shipping promotion so customers can get item for free but pay for shipping only.
When I did something similar a long time ago, I created the free product with a price of zero, added a weight so shipping gets added, just like any product. I then added in the text that only one of these will be included in an order and any others added will not be sent. Something like that. Most people read that and only added on.
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 3:20 pm
by ThatSweetShop
Fiber wrote: ↑Sun Jul 04, 2021 7:22 am
ThatSweetShop wrote: ↑Sat Jul 03, 2021 11:32 pm
Hi, I was wondering how I can limit the quantity of a product a customer can order.
admin/configuration/maxium values/Product Quantities In Shopping Cart/
I don't think this will work as it's a global setting and means only one product is allowed in shopping cart. I'm not trying to limit quantity of ALL other products but the specific product which is free. If I have other customers shopping, they won't be able to add more than one item to shopping cart.
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 3:23 pm
by ThatSweetShop
Kofod95 wrote: ↑Sun Jul 04, 2021 6:02 am
Not entirely sure how I would do that, but you could take
this (giftwrap-addon) and alter the text to make it a product. Eventually with a link to an info page that describes the product (unless you sell the product normally as well, then you could link to that product page).
//Daniel
I'm not sure if this will work as it appears that this only shows up at checkout which means customer has to have at least one other product in cart to get to this point.
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 4:28 pm
by Kofod95
ThatSweetShop wrote: ↑Sun Jul 04, 2021 3:23 pm
[...] this only shows up at checkout which means customer has to have at least one other product in cart to get to this point.
True - I have something similar to achieve, that I can share with you, once I figure it out (and get the time - it will not be sooner than Saturday, and probably later than that).
What I'm imaging now, is to make a site, populated by the infopage-system, that adds a fake product with an adjustable price. Further, it will need a shoppingcart-module and an order-total-module, but those should be simple enough. Does that sound useful to you?
//Daniel
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 4:53 pm
by ThatSweetShop
Kofod95 wrote: ↑Sun Jul 04, 2021 4:28 pm
ThatSweetShop wrote: ↑Sun Jul 04, 2021 3:23 pm
[...] this only shows up at checkout which means customer has to have at least one other product in cart to get to this point.
True - I have something similar to achieve, that I can share with you, once I figure it out (and get the time - it will not be sooner than Saturday, and probably later than that).
What I'm imaging now, is to make a site, populated by the infopage-system, that adds a fake product with an adjustable price. Further, it will need a shoppingcart-module and an order-total-module, but those should be simple enough. Does that sound useful to you?
//Daniel
Thanks very much for your kind offer. Yes, this could work, though it seems that one would have to create a a new page for every product one decides to offer for free. I hope I've understood your approach correctly.
I'm not a technical person but I was thinking that perhaps the decrease/increase quantities module in shopping basket can be tweaked to check if a product price is 0.00, then disable the ability to decrease/increase quantity. This seems a lot more functional, less modifications and easier to implement for all.
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 5:29 pm
by Kofod95
ThatSweetShop wrote: ↑Sun Jul 04, 2021 4:53 pm
Yes, this could work, though it seems that one would have to create a a new page for every product one decides to offer for free. I hope I've understood your approach correctly.
They could be on the same page, and they could have separate infopages, but be controlled by one page. They would, however not be listed among the ordinary products, so my proposal works best, if it is only a couple of things.
ThatSweetShop wrote: ↑Sun Jul 04, 2021 4:53 pm
[...] the decrease/increase quantities module in shopping basket can be tweaked to check if a product price is 0.00, then disable the ability to decrease/increase quantity. This seems a lot more functional, less modifications and easier to implement for all.
It's possible, and might be easier - I might give that a shot. The customer would, however, still be able to add the product to their cart multiple times. This could be dealt with as well, but I'm not sure how important it would be to do so.
//Daniel
Re: Limit Product Quantity
Posted: Sun Jul 04, 2021 6:49 pm
by ThatSweetShop
ThatSweetShop wrote: ↑Sun Jul 04, 2021 4:53 pm
[...] the decrease/increase quantities module in shopping basket can be tweaked to check if a product price is 0.00, then disable the ability to decrease/increase quantity. This seems a lot more functional, less modifications and easier to implement for all.
It's possible, and might be easier - I might give that a shot. The customer would, however, still be able to add the product to their cart multiple times. This could be dealt with as well, but I'm not sure how important it would be to do so.
//Daniel
[/quote]
Maybe this would work better by not just disabling the ability to increase quantity but also add an additional check to see if product already in cart and not allow customer to add it a second time. This scenario still seems a lot easier and function better. Just my thought, there may be better ideas.