Cart Discount Amount in Minicart
Composer kowal/module-cartdiscountamountinminicart · Version 1.0.0
Product page
A product page on kowal.co has not been confirmed.
Description
Shows the discount amount and discounted merchandise subtotal in the minicart.
For whom
For merchants who want shoppers to see an applied cart discount before opening the full cart.
Features
- Show the discount as a separate minicart row.
- Display the tax-exclusive merchandise subtotal after discount.
- Hide the extra rows when the discount no longer applies.
Installation
From the Magento root, with Composer access to the Kowal package, run
composer require kowal/module-cartdiscountamountinminicart
bin/magento module:enable Kowal_CartDiscountAmountInMinicart
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
When a cart discount applies, the standard minicart adds Discount and Order Total rows. The latter shows the merchandise subtotal excluding tax, less the discount. Shipping is excluded. The extension uses the standard Magento Knockout minicart template.
Requirements / notes
The label Order Total in this minicart represents discounted merchandise. Compare it with the merchandise subtotal when reconciling a test order.
FAQ
Why does the amount differ from the total payable at checkout?
Checkout can include tax and delivery charges. The minicart figure subtracts the discount from the tax-exclusive merchandise subtotal.
Verify the installation
Add merchandise with a tax-exclusive subtotal of 100 and apply a cart rule giving a discount of 10 in the same currency. Open the minicart and check that the discounted amount is 90. Remove the discount and confirm both extra rows disappear.