1

I am using 2.3.1 and the pearl theme. Currently my shipping looks like this: old shipping However, since we don't let our customers pick the carrier it seems confusing and I would like it to look like this:

new shipping
I've been digging around and have looked at

/vendor/magento/module-checkout/view/frontend/web/template/shipping.html
 <your_module_dir>/view/frontend/layout/checkout_index_index.xml

but neither of these seem to have what I'm looking for. How can I remove these labels?
EDIT per comments: If shipping.html is the right place what code should I edit to remove the labels?

  • /vendor/magento/module-checkout/view/frontend/web/template/shipping.html is correct but be sure to check if the file is overwritten by a module or your theme – Philipp Sander May 15 '19 at 15:15
  • Where exactly in that file am I looking to change it? thanks – Morgan Smith May 15 '19 at 15:28
1

After more digging the code I wanted to remove was in:

vendor/magento/module-checkout/view/frontend/web/template/shipping-address/shipping-method-list.html
| improve this answer | |
  • To expand on this answer. shipping-method-list.html contains the table headers. shipping-method-item.html contains the table data. Both need to be edited. – Tobe_Sta Sep 30 at 5:33

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.