Jump to content

Add to cart disabled in product list when attribute qt=0


Recommended Posts

Hi,

In my shop (PS 1.5.2) i have products with attributes lets say Small (S), medium (M), Large (L). When the available quantity of one of these attributes is zero then in product list the button "add to cart" is greyed out even if the other combinations are available.

 

This is distracting as the customer believes that this product is sold out and moves on..

Is it possible to show a greyed - disabled button "add to cart" ONLY when every attribute is zero?

Link to comment
Share on other sites

Everything is possible with some customization, I have not tried it, so I can't give you a code example,however, I can suggest a better approach.

 

If you use the following module http://www.prestashop.com/forums/index.php?/topic/79758-module-product-list-attributes-allow-customers-to-select-product-attributes-on-the-category-manufacturer-supplier-and-search-pages/ you will be able to let customers pick the attribute from the product list page, and even if an option is out of stock, they will still be able to see and select other options.

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...