I'm developing a cross sell module that will display products in cart that you can add to cart by clicking the button add to cart. I need to take consideration
I'm trying to migrate from my old PHP 5.4.45 + Smarty 2.6.28 to my new PHP 7.2.25 + Smarty 3.1.33. I'm tuning some small pieces of code, it works in most of we
In general, if we have a Smarty project we assign variables in .php file, and use the variables in its corresponding .tpl` file. such as: $smarty->assign('
In my CS-cart 4 PHP project I have a Smarty 3 (tpl) view file.. There I have defined one JavaScript function like: <script type="text/javascript">
I am working on a big project that use Smarty template engine with AngularJs and we need to move out from AngularJs to Svelte. we face a bad problem that the de
Okay so I have some PHP code but I have recently changed to smarty. And I was wondering how I convert that PHP code to smarty code. PHP CODE <?php if (iss
I have a custom module which defines a custom page in Prestashop. It consist on a template which extendes page.tpl and a front controller. I would like to unde