Web Analytics

Fill the form & Get Installation Support

    Magento 2 Add Custom Discount Separate Row in Summary

    1) Create a sales.xml file on app/code/Vendor/module/etc

    2) Create file Discount.php on this path app\code\Vendor\Module\Model\Quote\Discount

    3) Create file checkout_cart_index.xml on path app\code\Vendor\Module\view\frontend\layout

    4) Create file checkout_index_index.xml on path app\code\Vendor\Module\view\frontend\layout

    5) Create file custom-discount.js on path app/code/Vendor/Module/view/frontend/web/js/view/checkout/cart/totals

    6) Create file custom-discount.html on path app/code/Vendor/Module/view/frontend/web/template/checkout/cart/totals

    7) Create file on this path custom-discount.js app/code/Vendor/Module/view/frontend/web/js/view/checkout/summary

    8) Create file custom-discount.html on path app/code/Vendor/Module/view/frontend/web/template/checkout/summary


    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Hire s. dutt

      Get a Free Quote

        Connect With Us