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

●12 ●24
calendar_today • schedule1 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/

Want more #prestashop & #cartrule deep dives?

Join 6,097+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

More Posts

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

Tom Smithverified - May 14

Delivering Database Changes

Steve Fentonverified - Jul 22

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

Nicolas Dabène - Mar 17

How AI Is Changing Web Development, and What Developers Still Need to Understand

Daniel Decker - Nov 10

What Developers Already Know About Data Center Delays

Tom Smithverified - Sep 28
chevron_left
1k Points • 36 Badges
France • versus.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)

2 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!