Post by MAXI600 » Thu May 19, 2016 4:47 pm

Hello,
How to remove shopping cart in OC 2.2

Image

I'm tried to remove: this code from /catalog/view/theme/default/template/common/header.tpl

Code: Select all

<li><a href="<?php echo $shopping_cart; ?>" title="<?php echo $text_shopping_cart; ?>"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_shopping_cart; ?></span></a></li>
        <li><a href="<?php echo $checkout; ?>" title="<?php echo $text_checkout; ?>"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_checkout; ?></span></a></li>
But not worked!

Newbie

Posts

Joined
Sun Mar 23, 2014 1:20 am

Post by MAXI600 » Thu May 19, 2016 8:33 pm

:-[

Newbie

Posts

Joined
Sun Mar 23, 2014 1:20 am

Post by fido-x » Thu May 19, 2016 10:04 pm

In catalog/view/theme/default/template/common/header.tpl, find (at line 83):

Code: Select all

<div class="col-sm-3"><?php echo $cart; ?></div>
and replace with:

Code: Select all

<div class="col-sm-3"></div>
This will remove the cart from the header.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Active Member

Posts

Joined
Mon Feb 15, 2016 9:46 am
Who is online

Users browsing this forum: No registered users and 6 guests