Change wording on post checkout account offer
-
08-03-2021 - |
문제
I need to change the wording on the post checkout page where it offers the user a chance to create an acount and it says "You can track your order status by creating an account." because they wont be able to track the order there, only view it as history. We still want to give them a chance to create an account so I dont want to just turn off the box. Developer hints point me at: magento/module-checkout/view/frontend/templates/registration.phtml But this file is just a js call and I dont know where that line is generated.
해결책
Following file is the actual template:
vendor/magento/module-checkout/view/frontend/web/template/registration.html
You can modify this template in theme level or overwriting following js
vendor/magento/module-checkout/view/frontend/web/js/view/registration.js
Any text change you can use translation instead of modify file. Check here and here
Note: don't modify core file