Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How do I remove the callouts on the basket page (modern theme)? 
 
jofgav
Jr. Member
 
Avatar
Total Posts:  30
Joined:  2008-04-09
UK
 

Hi

I’m at a loss where to find any reference to these:-

<div class="cross-sell-blank">
<
p><img src="http://website.co.uk/skin/frontend/default/simplyindya/images/media/callout1.jpg" alt=""></p>
<
p><img src="http://website.co.uk/skin/frontend/default/simplyindya/images/media/fpo_no_crosssell.gif" alt=""></p>
</
div>

I’ve searched my app/ & skin/ files locally but cannot find a reference to any of these callout images.
I was expecting to find them in an xml file but I’ve had no such joy.
I just want rid of them for now and once I know where to modify the code I can always put something in their place later.
Like I say this is based upon the ”modern theme”.

Thanks
jof

Image Attachments
basket-callouts.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
jofgav
Jr. Member
 
Avatar
Total Posts:  30
Joined:  2008-04-09
UK
 

Seems I’ve found it myself:-
\app\design\frontend\default\modern\template\checkout\cart\crosssell.phtml
Lines 52-57

<?php else: ?>
<div class="cross-sell-blank">
<
p><img src="<?php echo $this->getSkinUrl('images/media/callout1.jpg');?>" alt=""/></p>
<
p><img src="<?php echo $this->getSkinUrl('images/media/fpo_no_crosssell.gif');?>" alt=""/></p>
</
div>
<?php endif; ?>
 
Magento Community Magento Community
Magento Community
Magento Community
 
jason32835
Jr. Member
 
Total Posts:  2
Joined:  2008-04-22
 

Very helpful! Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
seDev
Member
 
Total Posts:  51
Joined:  2008-01-22
 

Alternatively, you can comment out the reference to that file on Line 80 of app/design/frontend/default/modern/layout/checkout.xml:

<!-- <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/> -->
 
Magento Community Magento Community
Magento Community
Magento Community
 
imacache
Member
 
Total Posts:  35
Joined:  2009-04-23
Durango, CO
 

Thanks a bunch for this, both solutions offered also work on my super simple white/grey magento theme.  The one I’m using creates a design/skin folder called “magesupport”.  Not really sure what the correct name for this theme is grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
sanjayp
Jr. Member
 
Total Posts:  8
Joined:  2010-07-12
 

Im trying to do the same thing

but i don’t seem to have the files.

app/design/frontend/default/modern/template/checkout I only have a cart.phtml in this directory. Nothing else . I cant seem to find the callout folder anywhere.

any ideas on what i can do ?or what seems to be the problem? pls help

 
Magento Community Magento Community
Magento Community
Magento Community
 
andyg
Jr. Member
 
Total Posts:  4
Joined:  2010-04-29
 

sanjayp - you’ll find a ‘no-crosssell’ div near the bottom of that cart.phtml file (if you haven’t found it already).

I didn’t have the app/design/frontend/default/modern/template/checkout/cart/crossell.phtml either, but I copied it over from the equivalent base folder to play with anyway.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rwone
Sr. Member
 
Total Posts:  174
Joined:  2009-02-12
 

hello, is there a best practice here for protecting against loosing changes in upgrades etc? custom theme, magento 1.4.1.1. thanks!

EDIT:

I ended up commenting out:

<!--<img src="<?php echo $this->getSkinUrl('images/media/callout1.jpg') ?>" alt="" />
<
img src="<?php echo $this->getSkinUrl('images/media/fpo_no_crosssell.gif') ?>" alt="" />-->

in /app/design/frontend/default/my_theme/template/checkout/cart.phtml

 
Magento Community Magento Community
Magento Community
Magento Community
 
SentientMatter
Jr. Member
 
Avatar
Total Posts:  9
Joined:  2009-05-12
 
andyg - 27 July 2010 07:16 AM

sanjayp - you’ll find a ‘no-crosssell’ div near the bottom of that cart.phtml file (if you haven’t found it already).

I didn’t have the app/design/frontend/default/modern/template/checkout/cart/crossell.phtml either, but I copied it over from the equivalent base folder to play with anyway.

andyg has the solution, at least on 1.6. In 1.6, there is not ‘cart/crosssells.phtml’ in the modern theme; it is handled in cart.phtml

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top