robycrazy Posted July 26, 2014 Share Posted July 26, 2014 Hello,...I want to put the word "price" just before product's price in product page... i think this will increase seoand how can i do that...I must to change something in product.tpl, but dont know what and where.. using v.1.6.0.8 Someone to help, please !!! Link to comment Share on other sites More sharing options...
El Patron Posted July 26, 2014 Share Posted July 26, 2014 I think for SEO you may be interested in how to use google rich snippets. here is an article but you will want to research more to see if easy solution, i.e. module for example but it's good to know! http://nemops.com/prestashop-google-rich-snippets Link to comment Share on other sites More sharing options...
robycrazy Posted July 27, 2014 Author Share Posted July 27, 2014 Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 if you want to insert "price" before price on product page just open product.tpl file located in your theme directory and alter code: <span id="our_price_display" itemprop="price">{convertPrice price=$productPrice}</span> to: <span id="our_price_display" itemprop="price">{l s='Price:'} {convertPrice price=$productPrice}</span> note: i just added {l s='Price:'} before price variable Link to comment Share on other sites More sharing options...
MyValeria Posted May 18, 2015 Share Posted May 18, 2015 Hi Vekia, I can't make it work in 1.6.0.14 default theme. Chrome cache and Smarty cache are both cleared, Force Compilation is on. This is the line from product.tpl that I've updated: <span id="our_price_display" class="price" itemprop="price">{l s='Da '} {convertPrice price=$productPrice}</span> Any clue? Many thanks, Valeria Link to comment Share on other sites More sharing options...
mickeyboy1 Posted May 18, 2015 Share Posted May 18, 2015 (edited) I shall try it in my 1.6.14 and let you know if it works ok EDIT: the only way i could get this to work is to put {l s='Price:'} before the <span..... So it looks like this {l s='Price='} <span id="our_price_display" class="price" itemprop="price">{convertPrice price=$productPrice}</span> Dont know quite why it doesnt work the way Vekia suggested Edited May 18, 2015 by mickeyboy1 (see edit history) 1 Link to comment Share on other sites More sharing options...
MyValeria Posted May 18, 2015 Share Posted May 18, 2015 Thank you mickeyboy1! It works for me too Ciao! Valeria Link to comment Share on other sites More sharing options...
Recommended Posts