Jump to content

Changing "Out Of Stock" to Red


Troy

Recommended Posts

edit your product-list.tpl file and find the following line

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



and change it to

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



then open your global.css file or your product-list.css file if your using v1.4 and add the following

ul#product_list li span.notavailable{
 color:red}

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