Jump to content

Hide the out of stock product


phpdeveloper

Recommended Posts

yes, when you change product.tpl, it is to late because category included this product in calculation, i.e. pagination.

 

you would need to add code for example (via module) at hook hookActionUpdateQuantity that checks if quantity 0, then disable the product.  tip: if you have mail alerts module, then you  could possible add code there as it uses this hook.

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...