0

I'm working on a Rental Module for a Magento 2 website. the products on the site can be rented for a week or month and I want to show this in the order total label e.g order Total(per week) or order total(per month)

enter image description here

But I'm not sure how to change the label and which files I have to change. I found some articles but they did not work for me.

2
  • can you specify what you have try and what not working? Aug 2, 2021 at 10:15
  • so far I have tried to override the shipping.php file Aug 2, 2021 at 13:45

1 Answer 1

0

You can change the label of the order total by using the Language CSV translation. Please follow the steps below:

  1. Create /path/app/design/frontend/Vendor/theme/i18n
  2. Create Language CSV file in specified folder. Like en_US.csv
  3. Add the label as per the website like below

Original,Translated

Order Total,Total (Per week)

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.