Skip to content

Instantly share code, notes, and snippets.

View javierrojas10's full-sized avatar
🎯
Focusing

Javier Rojas javierrojas10

🎯
Focusing
View GitHub Profile
@javierrojas10
javierrojas10 / cheatsheet.md
Created July 6, 2021 05:09 — forked from rseon/cheatsheet.md
Prestashop cheatsheet (>= 1.5)

The most common. For me. Mostly from comments in source code.

Updated with 1.7 code.

Classes

Attribute

  • Attribute->cleanPositions(int $id_attribute_group, bool $useLastAttribute = true) : bool
    Reorder attribute position in group $id_attribute_group. Call it after deleting an attribute from a group.