I want to print array variable  $foo. So I have done {$foo|@print_r} this but its prints like "{$foo|@print_r}" on the front page.
I'm using the Oxied eshop and its use smarty as a template engine.
Try at least: that the array print for php in common
<?php
     print_r ($foo);
?>
Else try something like:
<?php
     {$foo|@debug_print_var} 
?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With