I was checking out the smarty manual for array_reverse. I applied the sample code to the {foreach} in minicart.tpl.
I changed this line:
Code:
{foreach from=$minicart_contents item=item}
to this:
Code:
{foreach from=$minicart_contents|@array_reverse:true item=item}
Seems to be working fine.
Is there any disadvantage to using smarty rather than PHP? Is it more server-intensive?
thanks,
n00bert