How to remove thumbnail image from mini-cart

Post By:user_48170 | Reply

Hello everyone :) ,

I have searched the forum and cant seem to find a solution to this so I'm hoping someone knows how...
Basically, on my site the drop down mini cart shows the items which are currently in the cart/basket. This shows the product image thumbnail, the product name, the quantity and then the price.

I would like to remove that thumbnail image from being displayed within the mini cart drop down. I would like to keep the rest of the information such as product name, quantity and price but just remove the image.

I have tried to do some minor tweaking of the cart.tpl found in the templates folder but all this has seemingly done is remove the thumbnail image from the actual "view cart" page. Not the thumbnail within the drop down mini cart.

I am using a modified template so my code is a little different to the default but I can get around this if someone knows how to do this on their default template.

Any help is much appreciated.

Kind Regards,

DippyEgg
user_48171 Mon, 30 Nov -0001

you can remove from this file
catalogviewthemedefaulttemplatemodulecart.tpl

user_47887 Mon, 30 Nov -0001

I'm pretty certain removing the file will cause an error message.

Instead, you can simply hide the product thumbnail image:

Open

Code: Select all
catalog/view/theme/yourtheme/stylesheet/stylesheet.css
and paste this code at the end of the file:

Code: Select all
.mini-cart-info .image img {
    display: none;
}


This works for the default template, but will possibly work for other templates, too.

You can still modify the file
Code: Select all
catalog/view/theme/template/default/module/cart.tpl
, if you wish.

`Reply Or Comment!
Please LogIn to Reply!