How to remove the picture and edit button from the mini-cart without using CSS

enter image description here

Expected Result

enter image description here

1 Answer 1


You need to override the template in your theme.

The original file is here:


Copy to:


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

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.