This website has been migrated from an on-prem LAMP wordpress stack to a Jekyll on Github stack, fully hosted. Read more in the migration from WP to Jekyll article.

109 Posts

Add variables from a Workflow in a Delivery in Adobe Campaign

You process then create variables in your Workflow and you would like to be able to use them in a delivery? You can! Adobe Campaign allows you to define Delivery...

Nginx.conf for Let's Encrypt auto https renewal

Let’s Encrypt uses a GET request to your website to automatically renew your certificate. Let’s Encrypt may encounter some 403 unauthorized when trying to make this HTTP request because it...

How to send an email from Javascript?

Have you ever wanted to send an email from client-side? You only have javascript at your disposal but you don’t want your customers to be able to see your credentials?...

Execute a WHERE on a linked table in a Backoffice List of Prestashop 1.7

You have a list with a linked table? For example in the AdminController you display Customer, right? What if you want to separate first names and last names ; and...

How to work with the symfony kernel anywhere in Prestashop 1.7

You want to fully tak advantage of symfony in your Prestashop application? Use the symfony kernel! By default, the $kernel variable is only available in the Backoffice section, but here’s...

Constants and variables for Prestashop 1.7 [PHP, Smarty, Javascript, Twig]

Ever wondered what constant to use in your controllers? Is it _PS_ROOT_DIR_ or __PS_BASE_URI__? In smarty templates, would you go for {$urls.img_dir} or Read more

Understanding the cache of Prestashop 1.7 (and Symfony)

Cache allows your customers to enhance their shopping experience by greatly improving page load. For example, each time a customer searches for “iphone 8” in your store, Prestashop reads the...

Controller lifecycle in PrestaShop 1.7

Execution order of the controller’s functions : classes/controller/Controller.php :

Use Db, the database class in PrestaShop 1.7

Tired of using raw SQL? SELECT * from _DB_PREFIX_.customer is dead! Use the chainable API provided by Prestashop with its DbQuery class: