There are different type of view type available in magneto for every type of products in my case i am using default type you can get all view type file at one location path given below.
Note: path and file may vary according to product type
app/design/frontend/base/default/template/catalog/product/view/type/default.phtml
Find the line below:
<p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
and change class with inline css as given below
<p style="color:#00ff00"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
Note: path and file may vary according to product type
app/design/frontend/base/default/template/catalog/product/view/type/default.phtml
Find the line below:
<p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
and change class with inline css as given below
<p style="color:#00ff00"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
No comments:
Post a Comment