peepo Posted August 27, 2011 Share Posted August 27, 2011 Hello, I want to remove the 'last added product' block from the shopping cart. How can I remove this block? Thanks Link to comment Share on other sites More sharing options...
SonnyBoyII Posted August 28, 2011 Share Posted August 28, 2011 yep, I dont like this feature too go to the shopping-cart.tpl file and cut out these lines: {if isset($lastProductAdded) AND $lastProductAdded} {foreach from=$products item=product} {if $product.id_product == $lastProductAdded.id_product AND (!$product.id_product_attribute OR ($product.id_product_attribute == $lastProductAdded.id_product_attribute))} <div class="cart_last_product"> <div class="cart_last_product_header"> <div class="left">{l s='Last added product'}</div> </div> <a class="cart_last_product_img" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small')}" alt="{$product.name|escape:'htmlall':'UTF-8'}"/></a> <div class="cart_last_product_content"> <h5><a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'}</a></h5> {if isset($product.attributes) && $product.attributes}<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'}</a>{/if} </div> <br class="clear" /> </div> {/if} {/foreach} {/if} 1 Link to comment Share on other sites More sharing options...
peepo Posted August 28, 2011 Author Share Posted August 28, 2011 Thats great thanks Link to comment Share on other sites More sharing options...
eskaigualker Posted March 21, 2012 Share Posted March 21, 2012 I think it's better just to add this into your theme's folder global.css: #center_column .cart_last_product{ display:none; } Link to comment Share on other sites More sharing options...
sltyler1 Posted August 2, 2012 Share Posted August 2, 2012 does this remove that little banner that pops up and says "this product was to chart last...(date)" banner that pops up? Link to comment Share on other sites More sharing options...
vidioelf Posted May 10, 2013 Share Posted May 10, 2013 I think it's better just to add this into your theme's folder global.css: #center_column .cart_last_product{ display:none; } it does not work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now