Dear Bakeryspecialists...
Is it possible to limit the orderquantity for one item to just 1.
Thanks in advance
Hi Erwinvb
Are you talking about all shop products or just one (or a few) specific product(s)?
Regards Christoph
Hi Christoph,
We have a graphic design webshop and some of our "products" als just extra services which can be added to a choosen product.
This will only comply to a few of our products.
Regards Erwin
Hi Erwinvb
If your extra services have their own module Bakery page you could edit the corresponding page template. Replace the text input field by a hidden input field. Eg.
Replace
<input type="text" name="item[ITEM_ID]" class="mod_bakery_item_input_f" value="1" size="2" />
by
<input type="hidden" name="item[ITEM_ID]" class="mod_bakery_item_input_f" value="1" size="2" />
Regards Christoph
Sorry I don't follow,
We created this service as a product, just like all the other products in the shop.
How do you create an "own page" for that product? (or where can I read about how to)
Thanks for your patients :wink:
Replace the text input field by a hidden input field.
Won't work..
It is fine for the overview/item pages.. but the cart/summery will allow you to change the number.
It will be very hard to fix that for one product.
Hi Erwinvb
QuoteHow do you create an "own page" for that product?
Other shops use categories while the module Bakery just uses different pages to imitate them.
http://www.bakery-shop.ch/#categories
For each Bakery page you can modify the page template (http://www.bakery-shop.ch/#templates). If you have a page "Extra services" you could edit the corresponding template. But as Ruud already mentioned, there is a big caveat:
The cart allows customers to change the predefined quantity ...
There is only one way to achieve the desired in a proper way: You have to tweak the PHP Module Code.
Regards Christoph