0

I am using magento2.3 I want to change the label of Subtotal to Subtotal(including vat) on shopping cart. Attaching image link for understanding. https://prnt.sc/of9a5c

2 Answers 2

0

use the following path for change of the label of the subtotal

Go to Vendor/Magento/Module-checkout/view/frontend/layout/checkout_cart_index.xml

you can find the subtotal here

6
  • Can you plz tell me how to over ride it. i am new in magento. This file changes the sub total here prnt.sc/ofa0m8 and not where i want
    – Nafsss
    Jul 15, 2019 at 13:25
  • copy the above file and go to the app -> design > frontend ->vendor name -> theme name -> Magento_Checkout -> templates -> Cart and past the form.phtml file here and change as per your requirement @Nafisa
    – Meera
    Jul 15, 2019 at 13:30
  • Thanx, But This file changes the sub total here prnt.sc/ofa0m8 and not where i want prnt.sc/of9a5c... I want to change in Summary
    – Nafsss
    Jul 15, 2019 at 13:33
  • Can u plz help me?
    – Nafsss
    Jul 16, 2019 at 7:25
  • I have edited my answer, please check the above path for change the text.
    – Meera
    Jul 16, 2019 at 7:43
0

Create folder in app/design/frontend/[Vendor_name]/[Theme_name]/i18n/en_Us.csv

change the label here

First column Subtotal

second column {Replace with your one}

Then Run Upgrade and deploy commands.

This may help you.

3
  • I want to change at only one place. This changes everywhere
    – Nafsss
    Jul 16, 2019 at 9:18
  • @Nafisa,then use the below answer that will help you.. Jul 16, 2019 at 9:23
  • But thats creating issue. i already have the file in app.... folder. If i override it looses previous configuration. This is the code which i already have.
    – Nafsss
    Jul 16, 2019 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.