Shapeir Posted November 3, 2020 Share Posted November 3, 2020 Hello. due to a product with variables, I am trying to display a feature value in the shopping cart confirmation popup. the responsible file is called modal.tpl I have already read several times that the following code should work for product.tpl: {if isset ($ features)} <div class = "features"> {foreach from = $ features item = feature name = pr_features} {if $ feature.id_feature == 8 OR $ feature.id_feature == 11 OR $ feature.id_feature == 12} <div> {$ feature.name}: <span> {$ feature.value} </span> </div> {/ if} {/ foreach} </div> {/ if} unfortunately nothing is output in the modal.tpl file. Does somebody has any idea? Thanks in advance. 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