AnsweredAssumed Answered

smarty counter in pdf manager

Question asked by Joe Carter on May 13, 2017
Latest reply on May 15, 2017 by André Lopes



I am trying to list all products in a quote but in 2 or 3 columns.  I have modified the Quote template in pdf manager but I need a counter so I know when to wrap.


If have tried everything I can find on Smarty counters etc but they either do not increment, even though it is in the foreach loop and a new product name appears so I know its going round the foreach loop, it will always be stuck at 1.


Does anyone have any ideas on how to add a counter or has anyone already produced 2/3/4 columns in the foreach loop?


Any help much appreciated.