Jump to content


Smarty Configuration in Prestashop

  • Please log in to reply
2 replies to this topic

#1 Tom Evans

Tom Evans

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 10 June 2014 - 07:19 AM

Smarty is the php template engine used by PrestaShop.

For smarty configuration, you need to follow some steps:

  • From the Performance page find the Smarty section. It is the topmost section.
  • Under the Template Cache setting, ensure the option labeled "Recompile templates if the files have been updated" is selected.
  • Next, ensure the Cache toggle is set to "Yes".

How does Smarty helps to perform better?

It is sturdy, fast, easy to learn and use. and has a clean and compact design-dedicated syntax. It helps building a much simpler HTML code, and works by compiling then caching each page.


A few things that you should avoid when using Smarty:

  • Do not make direct call PrestaShop's constants. Most particularly, do not even use {$smarty.const._DB_PASSWD_}, for obvious reasons.
  •  Do not override PrestaShop's assigned variables.
  •  Do not make the code needlessly hard to read. For instance, refrain from making include calls from within an already included file.
  •  Do not make direct PHP calls. For instance, do not use {php} // PHP code {/php}

looking for the best presta addons with outstanding support? check this: PrestaShop Modules

#2 Kama



  • Members
  • Pip
  • 4 posts

Posted 18 February 2019 - 06:11 AM


#3 simojer



  • Members
  • Pip
  • 5 posts

Posted 17 February 2022 - 02:33 PM

A B2B lead generation agency is a valuable investment for your business https://belkins.io/b...-small-business. The best agencies offer a variety of services and can help your company achieve its goals. A good agency will have a team of professionals that have experience in your industry and have proven results for companies similar to yours. While it is important to find the right agency, remember to carefully consider the benefits and drawbacks of different services before making a decision. A B2B lead generation agency will refine your messaging and brand. It will have insider knowledge of your niche and how to convert them to customers. A good agency will educate their clients about the services they provide. They will make their clients aware of their benefits and the benefits of working with them. A B2B lead gen agency will make sure that you get more business by generating quality leads and increasing the sales of your products or services. A B2B lead generation agency can generate a pipeline of qualified leads. A good agency can contact key decision makers and build rapport with them before pitching them a product. A reputable B2B lead generation agency can also provide a database of prospects to their clients. Using a B2B lead generating company can help your business achieve its goals and improve your sales. And they will help your sales team generate more leads if you work with them on a regular basis.