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...
Ever wondered what constant to use in your controllers? Is it
__PS_BASE_URI__? In smarty templates, would you go for
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...
Create a new front controller from scratch (Part 2/2) [Prestashop 1.7]
Prestashop can be used to display any page that you want. Either it’s pure HTML or templated data with Smarty, or even Twig since Prestashop 1.7! In this tutorial, we...
Embed a Symfony controller into a Prestashop controller
We are migrating from 100% Symfony to Prestashop 1.7 but we would like to keep and re-use our existing codebase. Here’s a how-to.