PrestaShop 9.1 changes `CartRule.php` more than many module developers expect

posted Originally published at nicolas-dabene.fr 1 min read

What changes in CartRule.php between PrestaShop 9.0.x and 9.1.x?

PrestaShop 9.1.x introduces the foundations of a new Discount system inside CartRule.php, protected by a feature flag.

That sounds safe at first — and it is, because backward compatibility is preserved while the flag is disabled. But once enabled, several important behaviors change, especially around discount typing, ORDER_LEVEL calculation, shipping inclusion, and compatibility rules. (nicolas-dabene.fr)

In my full write-up, I compare 9.0.x and 9.1.x in detail and explain what PrestaShop module developers should watch before supporting both versions safely.

Read the full article:
https://nicolas-dabene.fr/en/articles/2026/03/05/evolution-cartrule-prestashop-9/

More Posts

Your Backup Data Knows More Than You Think. HYCU aiR Is Finally Asking It the Right Questions.

Tom Smithverified - May 14

Why Friends of Presta Matters More Than Ever for the PrestaShop Ecosystem

Nicolas Dabène - Mar 17

Master Doctrine in PrestaShop: The Clean Way to Handle Dynamic DB Prefixes

Nicolas Dabène - Nov 22, 2025

5 surprising lessons from BMAD about the future of module development

Nicolas Dabène - Mar 11

EO2S 2026: where the open-source e-comme

Nicolas Dabène - Mar 17
chevron_left

Related Jobs

View all jobs →

Commenters (This Week)

8 comments
3 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!