0

How would I change the error message here in Magento2 from "Something went wrong while processing your quote. Please try again later." to "Please login in to process your quote."

I can not seem to find the code to change the error message.

enter image description here

3
  • Please add your custom code here before suggestion I need to check the exact issue. After that I can say the solution Commented Aug 26, 2020 at 2:15
  • check your error log.. Commented Aug 26, 2020 at 4:27
  • 1
    You can do it by adding your new text as translation in app/design/frontend/Yourpackage/Yourtheme/i18n/en_US.csv Commented Aug 26, 2020 at 4:47

1 Answer 1

1

Replace the text to the desired error message in this file

app/design/frontend/Vendor_Theme/Theme_name/i18n/en_US.csv

3
  • Hi, I tried this and thought this worked. But atlas I did not see the changes in the frontend. I found the piece of code thought in the Module. of app/code/Vendor/Name/i18n/en_US.csv. Try to make changes there but the changes did not come through.
    – Jonathan
    Commented Aug 28, 2020 at 3:02
  • You need to run static content & then cache clean. after changes in file. Commented Aug 28, 2020 at 4:42
  • Let me know if it works. Commented Aug 28, 2020 at 18:31

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.