Question

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.

Need to change this line

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top