1

I need to disable the shopping cart icon that is located at the top header of the webpage. How do I disable the shopping cart icon on my website?

0

Assuming you are using Magento 1.9 with RWD Theme, then locate this file:

app/design/frontend/rwd/default/template/checkout/cart/minicart.phtml

And delete (or comment out) this line:

<span class="icon"></span>

And that will remove the icon.

EDIT: Fixed path name

  • I am using Magento ver. 1.9.0.1 – Diana Aug 11 '16 at 19:34
  • Please upvote answer if you found it useful. Thanks. – Craig Aug 11 '16 at 20:18
  • Thank you, but I still see the icon. – Diana Aug 12 '16 at 20:56
0

depends on what theme fallback you are using, copy file in your theme and remove line with this code:

Enterprise File:

app/design/frontend/enterprise/default/template/page/html/header.phtml

Enterprise Code:

<?php echo $this->getChildHtml('topCart') ?>

RWD File:

app/design/frontend/rwd/default/template/page/html/header.phtml

RWD Code:

<?php echo $this->getChildHtml('minicart_head'); ?>

Best regards

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.