0

I am trying to override checkout page some text using custom theme magento 2??

1
  • You can add Magento_Checkout folder to your custom theme. Add required layout/templates file under this folder to add changes/updates in your theme files. You can copy them from module-checkout resides at vendor/magento/module-checkout Nov 23 '18 at 6:34
4

Create below path in your custom theme:

app/design/frontend/{{your package}}/{{your theme}}/Magento_Checkout/

Copy the required template, layout or web files to be modified from

vendor/magento/module-checkout/view/frontend

Update the files and flush cache to get the changes reflected. If you are modifying web files then don't forget to redeploy the content by running below commands:

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

6
  • thanks yes i have idea but i am not able to find out checkout page text headings in templates files do you have any idea Nov 23 '18 at 6:52
  • Could you please let me know the exact heading text to be updated, I'll find it for you and give you the path.. Nov 23 '18 at 6:59
  • Delivery address,Order Summary Nov 23 '18 at 7:07
  • 1
    order summary could be updated in vendor/magento/module-checkout/view/frontend/web/template/Summary.html I hope you have idea to copy this file under your theme, let me know if any help needed. Nov 23 '18 at 7:09
  • 1
    I think you are looking for "Shipping Address" title to update, if yes then it could be managed via shipping.html available at same location vendor/magento/module-checkout/view/frontend/web/template/shipping.html, override it in your custom theme. Nov 23 '18 at 8:54

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.