Troy Posted February 25, 2011 Share Posted February 25, 2011 Hello all.I was wondering how do you change the color of "Out Of Stock" to Red. I looked into css and used firebug but can't find the Out Of Stock. Much appreciated for any help.Attached is below. Thanks Link to comment Share on other sites More sharing options...
jhnstcks Posted February 25, 2011 Share Posted February 25, 2011 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 More sharing options...
Troy Posted February 25, 2011 Author Share Posted February 25, 2011 Thanks for the codes but "Available" also turned Red. It was supposed to be green. I'll tinkle away. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now