Forums / Basic Configuration / cart summary displayed in sidebox

cart summary displayed in sidebox

Locked

Started by marslizard on 7 Dec 2006, 7:35 PM · Views: 1,688

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Dec 2006, 7:35 PM
#1
marslizard avatar

marslizard

New Zenner

Join Date:
Dec 2006
Posts:
2
Plugin Contributions:
0

cart summary displayed in sidebox

Can anyone tell me how to make it possible for a customer to delete an item from this shopping cart summary? How would I add an form input checkbox to delete? I'm a complete noob as I just stumbled across Zen Cart today.

7 Dec 2006, 8:01 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,702
Plugin Contributions:
0

Re: cart summary displayed in sidebox

You don't, you need to go to the shopping cart page itself.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

8 Dec 2006, 2:02 AM
#3
marslizard avatar

marslizard

New Zenner

Join Date:
Dec 2006
Posts:
2
Plugin Contributions:
0

Re: cart summary displayed in sidebox

What I had in mind was creating a more flexible cart summary in the sidebox with the ability to remove items from the cart without having to go to the actual shopping cart page. I would still have the shopping cart page but I thought the sidebox cart summary would be a nice feature.

Some place there is code that is writing out the contents of adding an item. I just want to delete as well.:cool:

8 Dec 2006, 4:44 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: cart summary displayed in sidebox

You could try adapting from the shopping_cart this line of code by changing the products_id:

           <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, 'action=remove_product&product_id=' . $product['id']); ?>"><?php echo zen_image($template->get_template_dir(ICON_IMAGE_TRASH, DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . ICON_IMAGE_TRASH, ICON_TRASH_ALT); ?></a>

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!