I'm currently including additional info on my product group pages with if statements:
{if $gid eq '11'}
I'm wondering if there is a way to define custom variables, which I can more easily manage, and thus simplify my template files. For example, there is the built in $productGroup.features variable (is variable the right term?).
<ulclass="list-features">
{foreach $productGroup.features as $features}
<li>{$features.feature}</li>
{/foreach}
</ul>
So in the same way, could I define my own? For example:
Question
Juan GG Host
I'm currently including additional info on my product group pages with if statements:
{if $gid eq '11'}
I'm wondering if there is a way to define custom variables, which I can more easily manage, and thus simplify my template files. For example, there is the built in $productGroup.features variable (is variable the right term?).
So in the same way, could I define my own? For example:
$productGroup.promoVideo $productGroup.additionalFeatures $productGroup.addons $productGroup.additionalBanner
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.