Jump to content

Display Features in Modules tpl


mechcalvin

Recommended Posts

From this link: https://www.prestashop.com/forums/topic/318019-display-features-in-product-list-product-page/page-1

 

I learnt how to display Features in Product List & Product Page

 

I used

 

<div class="features">
{foreach from=$features item=feature name=pr_features}
{if $feature.id_feature == 1 }<p>{$feature.name}: <span>{$feature.value}</span></p>{/if}
{/foreach}
</div>

 

It display feature 1 correctly in Product List & Product Page

 

however when i apply to module e.g. blocknewproducts.tpl

 

the features data do not show, anyone can tell me why is that?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...