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
Debug Admin controller errors in PrestaShop 1.7
Typically with these errors:
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...
Redirects in Prestashop 1.7
Redirects to Frontend
Handle Admin Shop Context in Prestashop 1.7
Get the shop id
Generate URLs and links in Prestashop 1.7
You always need to generate your links and URLs. Hardcoded ones are a really bad habit. Coming from a Symfony environment, I’m familiar with
$router->generate('my-route') but how does...
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.
Edit your invoices in Prestashop 1.7 - How to create an Admin Controller?
Have you ever wanted to modify an order or an invoice directly in Prestashop? Tired of bypassing PS limitations via phpMyAdmin? You can create an Admin Controller in PS 1.7...
Squelette pour module Prestashop 1.7
- Add a config page
- Make it multi shop
- Good practices for Dabatabse install/uninstall
- Work with a Composer library