Category "smarty"

Use Product Variants Select in Cart Prestashop

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

Smarty: undefined extension class 'Smarty_Internal_Method_Get_Template_Vars'

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

Can we define variables in `.tpl` files?

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('

CS-cart - assigning variables into config file

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">

can I change Svelte delimiter?

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

Smarty if isset

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

Change meta_tags meta_description and meta_name to a custom page which extends page.tpl in Prestashop 1.7

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