Jump to content

how to put word "price" just before the product's price


Recommended Posts

Hello,...
I want to put the word "price" just before product's price in product page... 

i think this will increase seo
and 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

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

  • 9 months later...

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

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 by mickeyboy1 (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...