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 also dabbles in Ruby and Go. Technical topics that interest me are monitoring, security and performance.

During the day I solve challenging technical problems at Something Digital where I mainly work with the Magento platform. I also blog about tech, work on open source and hunt for bugs.

If you'd like to get in touch with me the best way is on Twitter.