jaychennai Posted October 2, 2014 Share Posted October 2, 2014 I would like to add call for price text to all products on my home page -> New products tab which doesnt have a price , which file should i edit, i edited product-list.tpl , but the changes only show up when i list the products using the manufacturer. Link to comment Share on other sites More sharing options...
vekia Posted October 3, 2014 Share Posted October 3, 2014 product-list.tpl <h5 itemprop="name"> {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if} <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" > {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} </a> </h5> change to: <h5 itemprop="name"> {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if} <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" > {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} <br /><strong>{l s='call for price'}</strong> </a> </h5> 2 Link to comment Share on other sites More sharing options...
jaychennai Posted October 3, 2014 Author Share Posted October 3, 2014 Hi thanks a lot , BTW another question, how do i add number of stock available in my category block, say i have a category "Bearings" i want to add Bearings ( 50) What file do i edit 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