Post by chungflung » Fri Nov 26, 2010 11:23 pm

How do I edit the side cart, I want to remove "view cart - checkout" so it just displays the product and price?

Newbie

Posts

Joined
Fri Nov 26, 2010 11:20 pm

Post by WhiteBirch » Sat Nov 27, 2010 7:31 pm

opencart\catalog\view\theme\default\template\module\cart.tpl

Around line 29 remove or comment out:

Code: Select all

<div style="padding-top:5px;text-align:center;clear:both;"><a href="<?php echo $view; ?>"><?php echo $text_view; ?></a> | <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>

WhiteBirch - Premium OpenCart Templates on ThemeForest
Skylight - Our first OpenCart 1.4.9.1 template!
Darkwood - Stylish new OpenCart 1.4.9.1 template!


User avatar
New member

Posts

Joined
Wed Sep 15, 2010 3:06 pm
Location - UK

Post by chungflung » Mon Nov 29, 2010 10:00 pm

Superstar, thank you ;D

Newbie

Posts

Joined
Fri Nov 26, 2010 11:20 pm

Post by chungflung » Tue Nov 30, 2010 3:20 pm

WhiteBirch wrote:opencart\catalog\view\theme\default\template\module\cart.tpl

Around line 29 remove or comment out:

Code: Select all

<div style="padding-top:5px;text-align:center;clear:both;"><a href="<?php echo $view; ?>"><?php echo $text_view; ?></a> | <a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></div>
Hi, I have done this now, but when I add a product, it goes to the module as I want it too, but still displays the view checkout etc, if I refresh the page the view checkout link disapears, any clues?

Newbie

Posts

Joined
Fri Nov 26, 2010 11:20 pm

Post by roberttimes » Mon Jun 20, 2011 12:05 am

Yeah for some reason the cart module is hardcoded and styled in cart.php (controller/module/cart/php) You have to edit the code there as well.

Newbie

Posts

Joined
Tue May 31, 2011 10:31 pm
Who is online

Users browsing this forum: No registered users and 6 guests