webcompass Posted February 3, 2016 Share Posted February 3, 2016 Hi, I'm trying to do this: In PS 1.6 I have to show the product page attributes options of color type, that through the click of two buttons can be ordered in two different ways, and in product.tpl I entered twice in two div, that correspond to the different orders of the attributes, the code: {foreach from=$group.attributes key=id_attribute item=group_attribute} ... {/foreach} each with its own sort condition, and hide one of the div based on the user's choice. The problem is that if I use 2 times the foreach, the user's attribute selection is not considered by Prestashop. Any ideas to solve? Thanks 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