Magento 2.3.4 change message text 'sorry no quotes are available for this order at this time'
-
13-04-2021 - |
Question
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.
Solution
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
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 :-
Helpful this answer Please accept.