How do I edit the side cart, I want to remove "view cart - checkout" so it just displays the product and price?
opencart\catalog\view\theme\default\template\module\cart.tpl
Around line 29 remove or comment out:
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!
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?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>
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.
Who is online
Users browsing this forum: No registered users and 15 guests