Jump to content

Add to Cart showing inappropriately


Recommended Posts

I've added a new product that has no attributes - I don't use quantity available (set to 1) and allow ordering of out of stock products. I DO have a required customization text box on the product.

When I open the site, the new item shows with a "new" banner and an Add to Cart button - which I feel is inaccurate as I require my client enter details in the text box.

 

I have added an attribute for the product as a work around to eliminate the Add to Cart button on the featured items and category pages.

 

Is the button showing on a product that has no attributes a bug or a feature? I'd like to figure out the best way to modify the code to suppress an add to cart button on all but the product page. Is this something that someone has already done?

 

Thanks for any guidance!

 

v 1.5.4.1

 

~Jo

Link to comment
Share on other sites

Try this:

themes/<your theme folder>/css/product_list.css ( around line 127)

 

 

#product_list li .ajax_add_to_cart_button {

padding-left: 20px;

display: none; <<-- add this line

}

 

Hope this does the trick. Don't forget to recompile the templates and turn cache off (Advanced parameters->prerformance) (Temporarily only,of course) and reload pages.

 

pascal

Link to comment
Share on other sites

×
×
  • Create New...