Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default what page is this??? (empty cart)

    Hi,

    What page does the cart go to when you add an item to the cart and then delete it (leaving the cart empty)? And how/where do I edit it???

    FYI: When I add an item to and then delete that item from my cart (leaving the cart empty), my cart defaults to "a page" that shows 3 things: new products, featured items, and monthly specials.

    Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: what page is this??? (empty cart)

    Are you asking which template file draws that part of the page so that you can change the sections appear?

    Or are you wanting to turn off or re-arrange the new/featured/special boxes?

    Or are you wanting to change the text on the page which says "Your shopping cart is empty" ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: what page is this??? (empty cart)

    Yes :-)

    1) Yes I would like to change which sections appear on that page. As a matter of fact, I would like the featured items to ONLY appear on the main page. AND I would like to have serveral different featured items, but I only want them to appear one at time. So... whenever a user reloads the main page a different feautured item would appear (drawing from the pool of items).

    2) Yes I would like to turn off and or re-arrange the new/featured/special boxes that appear on that page.

    3) Well, I like the text that says your shopping cart is empty, but I would like to add some custom text to that page, below "your shopping cart is empty" and above the new products and special boxes.

    Hope all of that makes sense. :-)))

    Thanks!

  4. #4
    Join Date
    Apr 2006
    Posts
    265
    Plugin Contributions
    0

    Default Re: what page is this??? (empty cart)

    Easy way to find out what template files are being used .... look at the main_page variable in the URL.

    The page you want is 'shopping_cart'.

    1a & 2) I'm not sure what you mean by 'main page'. In your admin under Configuration --> Stock are the switches to turn the New, Featured, Special, and Upcoming products sections display on and off and move them around. If you mean that you only want featured items to appear on the index page, set 'Show Featured Products on empty Shopping Cart Page' to 0.

    1b) To limit the number of Featured products displayed, go to Configuration --> Maximum Values and set 'Maximum Display of Featured Products - Main Page' to 1. It will automatically be randomized.

    3) In includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php, add the HTML that you want after this line (around line 182):

    Code:
    <h2 id="cartEmptyText"><?php echo TEXT_CART_EMPTY; ?></h2>
    BrandTim

  5. #5
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: what page is this??? (empty cart)

    Sweet! Thanks!

  6. #6
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: what page is this??? (empty cart)

    On the empty cart page, the boxes that I do have are butted up against one another (bottom to top). Is there a way to put a blank space between them?

  7. #7
    Join Date
    Apr 2006
    Posts
    265
    Plugin Contributions
    0

    Default Re: what page is this??? (empty cart)

    Which boxes? The sideboxes? Boxes that you've added to the page? The New, Featured, or Specials products listing?

    If you could post a link to your site it'd be much easier for us to understand what is going on.

    BrandTim

  8. #8
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: what page is this??? (empty cart)

    The boxes on the empty cart page which for me right now are new products and specials. I would like (if possible) to add a space between the boxes.

 

 

Similar Threads

  1. v151 "PHP Warning: Creating default object from empty value" what is this?
    By gsmsalers in forum General Questions
    Replies: 3
    Last Post: 9 May 2014, 06:54 PM
  2. this cart is empty paypal
    By wenbedma in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 2 Dec 2011, 02:16 PM
  3. How to Control what is displayed in an empty cart?
    By George Susini in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Apr 2009, 09:09 AM
  4. Removing "What's New" from empty cart page...
    By PharSide in forum General Questions
    Replies: 5
    Last Post: 4 Sep 2008, 01:29 AM
  5. Where are the admin settings for what to show when cart is empty?
    By dhcernese in forum Customization from the Admin
    Replies: 4
    Last Post: 16 Sep 2007, 02:31 PM

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