Post by claus8455 » Mon Apr 06, 2015 9:14 pm

Hi guys!

First of all im not a coder, so was woundering is anyone got the pice of code to change the stock status on product.tpl ?

im using 2.0.1.1

Thanks :)

Newbie

Posts

Joined
Mon Apr 06, 2015 9:07 pm

Post by drezh » Sun Apr 26, 2015 3:58 am

Hi,
line 150

Code: Select all

<li><?php echo $text_stock; ?> <b><?php echo $stock; ?></b></li>
you can change color with:

Code: Select all

<li><?php echo $text_stock; ?> <b><span style="color: green"><?php echo $stock; ?></span></b></li>

Newbie

Posts

Joined
Sun Jan 22, 2012 2:11 am
Who is online

Users browsing this forum: No registered users and 7 guests