Free Shipping Cart Rule After Discounts

Published: April 21, 2020

Tags:

NOTE: This below is based on the Magento 2 code base as of version 2.3.4.

In Magento, a cart price rule can be configured to offer free shipping for orders over a certain dollar amount.

Typically, merchants want this offer to be based on the amount AFTER any discounts are applied.

When configuring the cart price rule, there are two options which can be used to specify the threshold at which free shipping should be available, “Subtotal (Excl. Tax)” and “Subtotal”.

Screenshot showing options from conditions dropdown when configuring cart price rule in Magento

It turns out if you want the offer to be after discounts you must use “Subtotal (Excl Tax)” here, otherwise free shipping will be offered based on order amount before discounts.

The condition name is a bit of a misnomer and I didn’t find this documented anywhere, so wanted to document it here.

Max Chadwick Hi, I'm Max!

I'm a software developer who mainly works in PHP, but loves dabbling in other languages like Go and Ruby. Technical topics that interest me are monitoring, security and performance. I'm also a stickler for good documentation and clear technical writing.

During the day I lead a team of developers and solve challenging technical problems at Rightpoint where I mainly work with the Magento platform. I've also spoken at a number of events.

In my spare time I blog about tech, work on open source and participate in bug bounty programs.

If you'd like to get in contact, you can find me on Twitter and LinkedIn.