Jump to content

How to change "Add to cart" button to "Out of stock"


noesac

Recommended Posts

Go to Themes / Yourtheme / product-list.tpl
look for (it's line 24 on mine)

{l s='Add to cart'}


Change 'Add to cart' to 'Out of Stock', or whatever you want.
:)

Also - if you already have the small text "Out of Stock' above the greyed out button, you can remove that:

{if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}



just delete the TEXT 'out of stock, NOT the ''.
:)

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

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