Smarty Switch Statement Example Prestashop

Smarty can be a pain in the best of times and trying to create a switch statement for smarty in pretsashop was difficult.

Here is my attempt:

tags no longer works in prestashop 1.5.6.1

these tags are disabled, if you want to use it, you have to turn it on again, not advised.

Jeremy Pyne

https://github.com/pynej/Smarty-Switch-Statement/blob/master/compiler.switch.php

This was my try didnt work

References:

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *