PDA

View Full Version : Show preview cart even w/ no items?


rickytheraccoon
September 24th, 2003, 04:24 PM
I'd like the preview cart to always be showing, not only when an item is added.. how's this done? Sorry for a buncha questions lol, I'll post some answers when I'm done.

Jamie
September 24th, 2003, 10:12 PM
Hi,

This one is a little tricky. First, read this:

http://ldev.com/forums/showthread.php?p=2095&goto=postid

Then, you should now how to view the "Content" records. Click the one named "Cart Options Main". Then, change the content from this:

<?
// get enabled payment gateway to determine whether to hide the cart
// options or not
if($SESSION['order']['number_of_items'] != 0 && !$SESSION['complete_order']){
$Checkout_Image = get_image("Images","Checkout");
eval(content("Cart Options"));
}
?>


to this:

<?
// get enabled payment gateway to determine whether to hide the cart
// options or not
//if($SESSION['order']['number_of_items'] != 0 && !$SESSION['complete_order']){
$Checkout_Image = get_image("Images","Checkout");
eval(content("Cart Options"));
//}
?>

-Jamie