Forums / General Questions / Adding 2 Items to Cart, From 1 Click

Adding 2 Items to Cart, From 1 Click

Locked

Started by michael1963 on 22 Sep 2006, 10:49 PM · Views: 1,473

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Sep 2006, 10:49 PM
#1
michael1963 avatar

michael1963

New Zenner

Join Date:
Feb 2005
Posts:
10
Plugin Contributions:
0

Adding 2 Items to Cart, From 1 Click

Is it possible to add 2 items to the cart with one click?

For example, I might sell a "TV Remote with Batteries"

When i add this item, I want two items in my cart:

TV Remote
Batteries

I don't want to use Attributes, anyone have an idea? Is it possible?

-Mike

22 Sep 2006, 10:56 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Adding 2 Items to Cart, From 1 Click

Almost anything is possible - practical? No.

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.

24 Sep 2006, 1:34 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Adding 2 Items to Cart, From 1 Click

You could build a table of products_id and products_id_to_add

When a products_id gets added to the cart, it checks if the products_id_to_add is there ... if not toss that in there too ...

Pehaps expand it to know should it add in the same quantity or different quantity ...

What to do if first products_id is removed, if anything ...

What to do if the customer says no way ... how to avoid readding ...

Or do it the smart way ... have it display the suggested products based on what is in the cart for the customer to then add to the cart themselves and not upset the customer with all these products that they did not add suddenly showing up in the cart and making them scared and causing them to run off with their credit card to another site ... :eek:

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!