Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to make "Add to Cart" button conditional?


Recommended Posts

I have an odd problem and hope someone here can help me.


I have many customers who bookmark specific products in my OsCommerce store. If they access the bookmarked product at a later date and it is now out-of-stock, the "Add to Cart" button still appears. Despite a text message indicating the product is now out of stock, the Add to Cart button seems to cause confusion, and customers still try to add the product to their cart.


Is there a way to make the "Add to Cart" display conditinally, only when products are still in stock?


Many thanks for your assistance!



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...