Jump to content

Remove "quantity" selector from only some products' pages


Recommended Posts

Greetings, I hope someone can help with this topic.

 

My store is PS 1.6.1.8 and I'm using the Default-Bootstrap theme. www.coolmeatdirect.com.au

 

I would like to remove the "quantity" selector from the products detail page for only some products in my store.

 

I sell packaged meat, for which I have created combinations and don't want the "quantity" selector, and I also sell individual items like milk and cheese, for which there are no combinations and I need the "quantity" field.

 

I have read topic /332520 however it completely removes the "quantity" selector.

How can this be done?

Link to comment
Share on other sites

  • 3 weeks later...

I appreciate it doesn't remove the quantity selector for a given product, but it does let you restrict the maximum quantity for each customer group on a per-product basis:

 

https://mypresta.eu/content/uploads/2015/02/prestashop-max-product-quantity-details-product-tab.png

 

For your combined product packs, you would set a maximum of 1 for each customer group and leave these fields blank for your individual products.

 

I'm not affiliated to the above module producer and suggested it because you would be able to acheive the same outcome in a cost effective manner.

 

If you really want the quantity selector removed, then you'll need to modify the backend so that there's a means of flagging a given product as having a restricted quantity. This will then make it possible for the front end to hide the quantity selector on the product page and on the first page of the checkout process (where it's also possible to change the quantity.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...