Customize mini-cart - delete image and edit button
-
13-04-2021 - |
Solution
You need to override the template in your theme.
The original file is here:
vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html
Copy to:
app/design/frontend/your_vendor_name/your_theme_name/Magento_Checkout/web/template/minicart/item/default.html
Line 10 is where the photo HTML starts. Edit link is around line 100.
After deleting these you will need to deploy your static content:
bin/magento setup:static-content:deploy
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange