Positive and Grateful Posted April 18, 2018 Share Posted April 18, 2018 I'm using the Premium Comparison order form template, and I would like to add HTML content on the Product Groups page (specific to that product group), before and/or after the Group Features List. I know you can add HTML inside each product, but how do I add HTML div on the Group Page? Thanks in advance. Link to comment Share on other sites More sharing options...
brian! Posted April 19, 2018 Share Posted April 19, 2018 16 hours ago, Positive and Grateful said: I know you can add HTML inside each product, but how do I add HTML div on the Group Page? I would suggest editing the /templates/orderforms/premiumcomparison/products.tpl template... the code block that displays the group features is... {if count($productGroup.features) > 0} <div class="includes-features"> <div class="row clearfix"> <div class="col-md-12"> <div class="head-area"> <span> {$LANG.orderForm.includedWithPlans} </span> </div> <ul class="list-features"> {foreach $productGroup.features as $features} <li>{$features.feature}</li> {/foreach} </ul> </div> </div> </div> {/if} if it's only for one specific product group, then you could use an {if} statement in your code... {if $gid eq '10'}Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{/if} where the $gid value is the value of your Product Group... in the above example, i've just added text, but you could add html to that if required. Link to comment Share on other sites More sharing options...
Positive and Grateful Posted April 19, 2018 Author Share Posted April 19, 2018 Works perfectly! Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts