Zen Cart Logo
Forums / Addon Sideboxes / Changing Sidebox Shopping cart layout

Changing Sidebox Shopping cart layout

Locked

Views: 4,946

Results 21 to 24 of 24
This thread is locked. New replies are disabled.
16 Feb 2010, 6:10 PM
#21
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Changing Sidebox Shopping cart layout

Hi Stevesh,
I removed the addidional content to the tpl_header.php files. I've also activated the shopping cart-show Totals in admin. Total and Amouunt now show up under the shopping cart image & Your Cart Contents:
The ideal situation for me would be instead of item totals and then amount: would be as before: 0 item(s) in your cart.
Can we get to that point?
Thanks,
Bob

16 Feb 2010, 7:42 PM
#22
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

I also have lost the go to checkout button that was there before below the amount and description.
This is getting Tedious, I really want to get this project finished, I've been at it for to long as it is.
Please reply asap.
Thanks again,
Bob

17 Feb 2010, 1:40 PM
#23
robertg avatar

robertg

Zen Follower

Join Date:
Nov 2009
Posts:
341
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

STEVESH!!
Can I get an answer or help on previous 2 questions PLEASE.
RobertG

19 Feb 2010, 5:04 AM
#24
orcasoul avatar

orcasoul

Zen Follower

Join Date:
Jan 2010
Posts:
133
Plugin Contributions:
0

Re: Changing Sidebox Shopping cart layout

This might be of some help:

Put the following code in the side box list of items:

<!-- Begin shopping cart display -->
<div id=cart_block">
<?php echo "Products in cart " . $_SESSION['cart']->count_contents(); ?>
<br />
<?php echo "Total Price $". $_SESSION['cart']->show_total(); ?>
</div>
<!-- End shopping cart display -->

This calls the functions in the cart code and gets the data directly.

You could look at the file /includes/classes/shopping_cart.php for any other functions you want to use.

One I don't see yet is the actual "Checkout" button, but I suspect it's in there somewhere.