shopping cart

Locked

Views: 1,444

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 Nov 2006, 12:59 PM
#1
david_bo avatar

david_bo

New Zenner

Join Date:
Oct 2006
Posts:
23
Plugin Contributions:
0

shopping cart

My shop sells one product with one attribute.

The customer then adds the product several times but with different options for the attribute except for a few with same option value.

Just before he checks out, he will se a list of all the products in the shopping cart. I suppose the tpl_shopping_cart_default.php is responsible for that.
However where is the code which calculates the quantity based on selected option values?

Let us say that the cusomer buys t-shirts, 1 green, and 2 red.
I suppose the product_id will be the same for all tree t-shirts, but somehow zen can keep track on the quantity of red tshirts

29 Nov 2006, 12:27 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,721
Plugin Contributions:
56

Re: shopping cart

You'll see different entries in your cart for the different attribute settings.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

29 Nov 2006, 2:25 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: shopping cart

You might try the stock by attributes module available in the downloads section, Get the one by me mate kurio if using ZenCart 1.3.5 or later.

Zen-Venom Get Bitten