Jump to content

adding a fixed content


Recommended Posts

hi,

 

If it's in the bottom of the long description who appear so on the product page, you can edit your product.tpl (themes/your_theme/) +/- line 508 replace :

 

  <div id="idTab1" class="rte">{$product->description}</div>

 

with:

  <div id="idTab1" class="rte">{$product->description}{l s='YOUR_TEXT'}</div>

 

After you can change the text in your back office -> traductions -> front office -> product.tpl

Edited by Médéric (see edit history)
Link to comment
Share on other sites

A quick solution would be to past this 4 lines in the product.tpl

 

<ul>
<li><strong><span style="font-size: 10pt;">{l s='YOUR_TEXT'}</span></strong></li>
<li><strong><span style="font-size: 10pt;"><strong><span style="font-size: 10pt;">{l s='YOUR_TEXT'}</span></strong></span></strong></li>
<li><strong><span style="font-size: 10pt;">{l s='YOUR_TEXT'}</span></strong></li>
<li><span style="color: #ff0000;"><strong><span style="font-size: 10pt;">{l s='YOUR_TEXT'}</span></strong></span></li>
</ul>

 

just before:

{$product->description}

 

 

You have the style, you can change the text in "traduction" and it appear on every product page

 

I hope this helps you

Edited by Médéric (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...