Jump to content

Product Group Page Adding HTML after Features List

Recommended Posts

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">
                            <ul class="list-features">
                                {foreach $productGroup.features as $features}

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

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated