Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    258
    Plugin Contributions
    0

    Default Remove [more] from shopping cart header

    In my shopping cart sidebox, the header says "Shopping Cart [more]" that links to the active shopping cart. I like the link, but I want to remove the word [more] because it messes up my header design. For the life of me, I can't locate the proper file to do this.

    The site is: www.kings-kreations.com/zen

    TIA!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove [more] from shopping cart header

    Use the Developers Toolkit in admin > Tools to search for [more]. This will show you the file and line number where it is defined:

    /includes/languages/english.php

    Line #74 : define('BOX_HEADING_LINKS', '  [more]');

    Edit /includes/languages/your_template/english.php and change this to

    define('BOX_HEADING_LINKS', '');

  3. #3
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Remove [more] from shopping cart header

    Hi Glenn,

    Thanks for the info, I'm trying to do the same thing (I'm using an image to replace the sidebox header text).
    This mod works but leaves a gap beneath the shopping cart header image.

    You can see what I mean if you head over to the store we're working on and add something to the cart so it shows up...

    www.tradersupplies.co.uk

    Any idea of a solution?

    Cheers
    Dunc

  4. #4
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    258
    Plugin Contributions
    0

    Default Re: Remove [more] from shopping cart header

    Thanks so much, Glenn, that worked perfectly!

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove [more] from shopping cart header

    Glad to hear it!

    Dunk - the Image Titles mod is built to automatically swap an image for the standard text (including the [more]), and it doesn't require editing each sidebox separately.

  6. #6
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Remove [more] from shopping cart header

    The Image Titles mod? I'm not sure if I'm familiar with this, I just followed the instructions in the below link.

    https://www.zen-cart.com/tutorials/i...hp?article=135

    The white space problem is an odd one, I've applied exactly the same css to the right hand sideboxes as I did to the left but for some reason white space is appearing under the images of the right hand sideboxes

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove [more] from shopping cart header

    I get that space below the Latest Additions and Currency headings, too - not sure if they were like that before I added an item to the cart, but they stayed gapped after I removed it.


    The tutorial is the long way around to do the substitution. There is a more elegant way involving putting the whole <img> HTML code in the define statement, but that still doesn't affect the [more].
    Image Titles takes all those factors into account (link in my sig).
    Last edited by gjh42; 4 Nov 2008 at 12:36 AM.

  8. #8
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Remove [more] from shopping cart header

    It seems to be the right sidebox heading images. Did you edit the right side ones with a program that perhaps didn't preserve their background transparency?
    Last edited by TShooters; 4 Nov 2008 at 12:42 AM.
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove [more] from shopping cart header

    Your gap problem is caused by putting a background-color in the right sidebox headings:
    Code:
    h3.rightBoxHeading, h3.rightBoxHeading a {
    	font-size: 1.1em;
    	color: #FFFF00;
    	}
    
    .rightBoxHeading {
    	margin: 0em;
    	background-color: #ffffff;
    	padding: 0px;
    	}
    Eliminate that and you should be ok. I had a suspicion it was something like that when I saw that both the link and the static right headings had the same gap.

  10. #10
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Remove [more] from shopping cart header

    Glen,

    Thanks so much, that worked perfectly. I would've spent hours tearing my hair out over it!
    Image Titles is a great little mod too, I'll be sure to use it in future.

    Thanks again
    Dunk

 

 

Similar Threads

  1. v150 Remove Shopping Cart status from header
    By raunharman in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 16 Jul 2013, 12:31 PM
  2. Remove right sidebox shopping cart from when on shopping cart page
    By alterego55 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 2 Oct 2010, 01:45 AM
  3. Shopping cart header has [more]
    By YetanotherJen in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Aug 2010, 12:57 AM
  4. Remove [more] link from shopping cart sidebox header
    By kachana in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Oct 2008, 07:31 PM
  5. remove header from shopping cart sidebox
    By chabates in forum Addon Sideboxes
    Replies: 7
    Last Post: 23 May 2008, 02:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR