0

My question is identical to this Magento 2: Sorry, no quotes are available for this order at this time Change Message but the answer is not correct.

I wish to change the message to something like 'please enter postcode to see rates' I have tried extending Magento_checkout and amending the magento_checkout/web/template/shipping.html file where the message seems to be set and also the cart in magento_checkout/web/template/cart/shipping_rates.html but the standard message stills displays on the frontend.

anyone know how to change it?

Thanks.

  • your site is multi store ??? – Mohit Patel Mar 25 at 20:14
1

Follow this path and change the you message text

First go the this path open the shipping.html

/module-checkout/view/frontend/web/template/shipping.html

enter image description here

See the code and change the you want to text.

And after must be run the this commands :-

php bin/magento s:up
php bin/magento s:s:d -f 
php bin/magento c:c
php bin/magento c:f

And check your output :-

enter image description here

Helpful this answer Please accept.

  • Thanks I have tried this already by overriding shipping.html in (/app/design/frontend/Theme/site/Magento_Checkout/web/template) is but no joy - standard message is still displayed. – Nath 2 days ago
  • Tried this but it seems like some other extension os overriding this file and using i18n\en_US.csv file to alter message. Two extensions seem to effect same message though. Which gets priority? – Nath 2 days ago
  • Managed to resolve it was an extension overriding this file but the message was set in i18n\en_US.csv file but as I'm using en_GB I had to copy rename the file to en_GB.csv then change the message and boom.. Thanks for your suggestion above it pointed me in the right direction.. – Nath 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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