Forums / Templates, Stylesheets, Page Layout / what page is this??? (empty cart)

what page is this??? (empty cart)

Locked

Views: 1,253

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
31 Aug 2007, 3:25 AM
#1
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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

31 Aug 2007, 3:38 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

31 Aug 2007, 3:53 AM
#3
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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!

31 Aug 2007, 3:37 PM
#4
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

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.

  1. In includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php, add the HTML that you want after this line (around line 182):
<h2 id="cartEmptyText"><?php echo TEXT_CART_EMPTY; ?></h2>

BrandTim

31 Aug 2007, 8:11 PM
#5
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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

Sweet! Thanks!

1 Sep 2007, 3:24 PM
#6
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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?

1 Sep 2007, 9:01 PM
#7
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

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

4 Sep 2007, 4:43 PM
#8
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

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.