0

I am trying to change checkout page on shipping methods display pattern. According to template path hints i checked onepage.phtml in that i did't get the related script.In which file i have to check. can u please any one help in this

enter image description here

8
  • check at magento-root/vendor/magento/module-checkout/view/frontend/web/template/shipping.html Commented Jul 18, 2017 at 10:04
  • Thanks Emipro Team, Can you please explain how data is binding from which js file.
    – Ramesh
    Commented Jul 18, 2017 at 10:16
  • 1
    please check : magento-root/vendor/magento/module-checkout/view/frontend/web/js/view/shipping.js Commented Jul 18, 2017 at 10:20
  • @Emipro Team, I renamed shipping.html as shipping.html-bak but still data is loading....
    – Ramesh
    Commented Jul 18, 2017 at 11:16
  • Where you have renamed in vendor or pub directory ? Commented Jul 18, 2017 at 11:21

1 Answer 1

0

You should clear the cache using this command:
php bin/magento cache:clean
and in order to change or add something to each shipping method then you can overwrite these two files shipping-method-list.html and shipping-method-item.html located in /vendor/magento/module-checkout/view/frontend/web/template/shipping-address folder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.