Nicolasso Posted May 11, 2017 Share Posted May 11, 2017 (edited) 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 May 11, 2017 by Nicolasso (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted May 12, 2017 Share Posted May 12, 2017 Can you share the site's url? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now