How to calculate free shipping based on Subtotal after Discount?

How to calculate free shipping based on Subtotal after Discount?

Since v.1.3.0 of Free Shipping Bar extension, we have added an option to calculate the free shipping goal based on the cart subtotal after discounts. You can find the 'amasty/module-shipping-bar-subscription-functionality' package for installing in composer suggest. The module is compatible with Hyva. The 'amasty/module-free-shipping-bar-subscription-functionality-hyva' module can be installed via composer as well. Please note that the modules are available as a part of an active subscription.

Once installed, a new setting Calculate Subtotal Goal Based on would appear in Amasty > Free Shipping Bar > Configuration

If the Subtotal before Discount option is selected, the module does not take into account the discounts applied in the cart and at checkout: 



If Subtotal after Discount is selected, the module applies cart discounts (Magento Cart Price Rules and Amasty Reward Points) and updates the shipping bar with the discounted total: