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

6 19
calendar_todayschedule1 min read
— Originally published at nicolas-dabene.fr

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/

🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

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

Your Service Desk Data Is Smarter Than You Think. AI Is Finally Proving It.

Tom Smithverified - Jun 10
chevron_left
1k Points25 Badges
Franceversus.pro/fr
9Posts
5Comments
4Connections
I architect the AI-native transition of PrestaShop e-commerce

I make a complex transformation under... Show more

Related Jobs

View all jobs →

Commenters (This Week)

1 comment
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!