I am using Check / Money Order payment method in my website.
I want to change the text of "Place Order" button on the checkout page.
I tried to change the following file:
vendor/magento/module-offline-payments/view/frontend/web/template/payment/checkmo.html
but nothing is changing on frontend.
Actually I want to override this template into my own module but it is unable to change anything even changing directly to above file location.
Can anybody help me?
Best Answer
Why you try to do this way for changing text?
You can do this simply by translation.
Create a i18n/en_US.csv inside your theme
OR
Inside your module create i18n/en_US.csv, In that case make sure your module load after Magento_Checkout module. So module.xml looks like:
Your csv content should be
Clear all cache.