mbwebmaster Posted March 7, 2022 Share Posted March 7, 2022 (edited) Hey everyone! I'm working on a module to add more info to product features and i need to add code to the file product-details.tpl, more specifique: {block name='product_features'} {if $product.grouped_features} <section class="product-features"> <p class="h6">{l s='Data sheet' d='Shop.Theme.Catalog'}</p> <dl class="data-sheet"> {foreach from=$product.grouped_features item=feature} <dt class="name">{$feature.name}</dt> <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd> {/foreach} </dl> </section> {/if} {/block} This block above. I want to add more info inside <dd class="value">{$more_info_here}{$feature.value|escape:'htmlall'|nl2br nofilter}</dd> How can i do this? This block doesnt have any hooks Edited March 7, 2022 by mbwebmaster (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted March 8, 2022 Share Posted March 8, 2022 Only way I see is to use javascript 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