Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Multi-Product Add to Cart

Multi-Product Add to Cart

Locked

Views: 826

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Feb 2009, 3:00 AM
#1
phineas77 avatar

phineas77

New Zenner

Join Date:
Nov 2008
Posts:
14
Plugin Contributions:
0

Multi-Product Add to Cart

I have a few groups of related products and I'd like to walk customers through these groups step-by-step. Each group should be listed on a single page - essentially combining their product_info pages. Instead of an Add to Cart button, I'm trying to add all selected products to the cart and go to the next Product Group that will also list multiple product_info pages as a single page. The final page would add the products to the shopping cart, then go to the shopping cart. At least the first group of products will be priced by attribute.

Product Group 1
Product 1
Attribute
Product 2
Attribute
Action: Add Items to Cart & Go To Product Group 2

Product Group 2
Product 3
Product 4
Action: Add Items to Cart & Go To Product Group 3

Product Group 3
Product 5
Product 6
Action: Add Items to Cart & Go To Shopping Cart

I've scoured the forums and can't find anything like this. Has anyone done this before? I've looked at creating a Product Type with a custom product_info_display, though I'm not certain how to link the two if that would work. I've also looked at the custom forms thread, but none of that really deals with products. Any suggestions are greatly appreciated. I'm on 1.3.7.

Thanks

13 Feb 2009, 12:15 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Multi-Product Add to Cart

Have you seen the module by dwno?

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=555

NB: This module does not work for products with attributes or quantity discounts. dwno explains why at the download page...

But you may care to see his code and perhaps it will help you build what you want.

13 Feb 2009, 3:15 PM
#3
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Multi-Product Add to Cart

No, Quick Order is not intended for this sort of requirement; it requires the customer to enter an ID number and quantity themselves for each product they want. You might be able to repurpose the Add To Cart code in it, but the multi-product page would be a custom job from that point on.

I recently installed (for a client) a commercial mod available from thatsoftwareguy.com which can do this. You may wish to investigate that.

Rob

13 Feb 2009, 5:28 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Multi-Product Add to Cart

You see.. if you eat quality donuts all day long your intelligence levels rise dramatically. I shoulda read phineas77's post more carefully!

13 Feb 2009, 6:26 PM
#5
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Multi-Product Add to Cart

I have a copy of an old ad that claims that eating 6 donuts a day is part of a healthy diet. And I believe it!

Rob

13 Feb 2009, 7:47 PM
#6
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Multi-Product Add to Cart

Yes you can do it, but it will require heavy customization since the current multiple add to cart cannot handle attributes.

24 Feb 2009, 8:55 PM
#7
phineas77 avatar

phineas77

New Zenner

Join Date:
Nov 2008
Posts:
14
Plugin Contributions:
0

Re: Multi-Product Add to Cart

All,

I wanted to update you and thank you for all your help. I was able to implement the suggested mod with heavy customization that involved modifying the existing attributes module as a custom file to add a unique _GET id. I removed the user input functions and replaced it with a category listing so that only products in that category were available through this page. By checking the unique _GET id's zen_get_uprid() against get_product_id_list(), I was able to finagle cart additions so that products with attributes, including the same product with different attributes (i.e. product_1_att_1, product_1_att_2) can be added to the cart in the same order.

Fun is!