Hello! I have a template:
{default $priceOrder = 'DESC'} {block content} <div id="content"> <a n:href="this, orderByPrice => $priceOrder">{_'Order by price'}</a> </div>
Tracy says Undefined variable: priceOrder
Undefined variable: priceOrder
What I'm doing wrong? Thanks!
You have to put that {default} macro inside the block.
{default}
What a stupid mistake… Thanks!