twc02 Posted June 11, 2015 Share Posted June 11, 2015 Hello, I'm using prestashop 1.6.011 Is it possible to filter results in your template while using Smarty statements? {foreach from=$variableA item=x_combination name=x_combinations_qty_prices}{if $smarty.foreach.variableA.first} {if $smarty.foreach.variableA.first} makes it possible to display a <th></th> in a table. Now the table lists all combinations available for a product But I want to filter the table results based on a selection made by the radio button control So I want to only show the prices of size M in the table when I select size M. See screenshots attached. Can this be done using Smarty statements? 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