Jump to content

Edit More details product button for description


Recommended Posts

Hi everybody, 

 

I'm a beginner and i would like to set a button "more details" witch show the product description.

 

For now i have the title product, the short description product and the "more details" button below.

 

My problem is that the button is not connected to the description production of the cms.

 

I know that something's going wrong with the a href="javascript {}" but how can i set this ? 

 

Maybe others pb but i start with the beginning !

 

<?php if ($_smarty_tpl->tpl_vars['product']->value->description) {?>
<p class="buttons_bottom_block">
<a href="javascript:{}" class="button">

<?php echo smartyTranslate(array('s'=>'More details'),$_smarty_tpl);?> 

 

or in this file :

 

{if $product->description}
<p class="buttons_bottom_block">
<a href="javascript:{ldelim}{rdelim}" class="button">
{l s='More details'}
</a>
</p>
{/if}
 
 
If someone get a track it could be great !
 
Lot of thanks
 
Nico
Edited by Nicolasso (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...