Show Menu
Cheatography

Prestashop Cheat Sheet (DRAFT) by

my help list for some features, and how to do some things in Prestashop

This is a draft cheat sheet. It is a work in progress and is not finished yet.

how to get some info better way

$_POST­­('­n­a­me­­'),­­$_­G­E­T(­­'name') = Tools:­­:g­e­t­Va­­lue­­('­n­ame')

Sql Injection protect

pSQL($­str­ing);
(int)$­number;

How to show hooks on pages

// add var_dump to
// classe­s/H­ook.php

public static function exec(....) {
var_du­mp(­$ho­ok_­nam­e);......