Is there a way to call an external PHP script in smarty and test the return value? What I want to do is hide a button if the script returns 0. button has id = {$product.reference}
I figured out another way to do what I need.