Jump to content

(SOLVED) Adding new words to product page.


Recommended Posts

Good morning

 

I am using prestashop 1.4.7 and the new prestashop theme.

 

On the product page, where is shows the price i.e £30.00, I want to add the words "Dropship Price" directly before the £30.

 

Can anybody tell me where I need to add the words. Is it in the file manager somewhere and if so what file and would should the line look like in the coding please.

 

thanks in advance

 

Hippooflove

Link to comment
Share on other sites

For the default theme, you'll need to find <span id="our_price_display"> in the product.tpl template and add your words either right before or inside that span depending on how you want it styled.

 

Also if you want the words to be translatable, add them using Smarty like that: {l s='Dropship Price'}

Link to comment
Share on other sites

Thanks for taking the time to reply affect.

 

I have found the code you are taking about. I have added line you suggest but no change in front office.

Lines are at 321 in Product.tpl.

 

 

 

<p class= "our_price_display">

{if $priceDisplay >= 0 && $priceDisplay <= 2}

<span id=" our_price_display">{convertPrice price=$productPrice}</span>

<!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))}

{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}

{/if}-->

 

Please can you show me what the new one should look like please.

 

Hippooflove

Link to comment
Share on other sites

×
×
  • Create New...