Forums / Setting Up Categories, Products, Attributes / product attributes selected to load different product UPC's in the cart

product attributes selected to load different product UPC's in the cart

Started by elite_supplement on 11 Sep 2012, 4:19 AM · Views: 959

Results 1 to 8 of 8
11 Sep 2012, 4:19 AM
#1
elite_supplement avatar

elite_supplement

New Zenner

Join Date:
Jun 2012
Posts:
46
Plugin Contributions:
0

product attributes selected to load different product UPC's in the cart

Is there a way to make the product attributes to load different product UPC's in the cart

example if a product has more then one flavor.. yet each flavor is loaded into the zenstore itself .. can someone select a flavor from the dropdown other then the products flavor or page they are currently on and hit add to cart and that specific products UPC number will be in the cart for that flavor..??

or can you load different products in the attribute dropdown to be added to the cart like a shortcut from going to each product page to add to cart

11 Sep 2012, 7:12 AM
#2
kobra avatar

kobra

Black Belt

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

Re: product attributes selected to load different product UPC's in the cart

can you load different products in the attribute dropdown to be added to the cart
No - That is not what an attribute is
It is a modification of a product

Zen-Venom Get Bitten

11 Sep 2012, 7:23 AM
#3
elite_supplement avatar

elite_supplement

New Zenner

Join Date:
Jun 2012
Posts:
46
Plugin Contributions:
0

Re: product attributes selected to load different product UPC's in the cart

Like for instance muscle milk the protein it has lots of flavors they are all muscle milk yet have different UPC's ..

There is no way I can have a dropdown to select what flavor and the attribute selected will put the right UPC in the cart for checkout .??

11 Sep 2012, 7:28 AM
#4
kobra avatar

kobra

Black Belt

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

Re: product attributes selected to load different product UPC's in the cart

There is no DB entry for multiple UPC's in a single product

Zen-Venom Get Bitten

11 Sep 2012, 9:55 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: product attributes selected to load different product UPC's in the cart

There's no provision in Zencart, nor any mod I'm aware of that will allow you to assign UPCs (or model numbers) to attributes.

11 Sep 2012, 11:46 AM
#6
imranulh avatar

imranulh

New Zenner

Join Date:
Jun 2005
Location:
Dhaka, Bangladesh
Posts:
21
Plugin Contributions:
2

Re: product attributes selected to load different product UPC's in the cart

Not possible by default Zencart. I can give you some idea how to implement it:

(YOU NEED TO KNOW WORKING WITH ZENCART CODE)

  1. Create a new table with 3 fields, products_options_id, products_options_values_id, upc
  2. Edit attribute manger tool to add upc for the option value
  3. On front end, in shopping_cart page template (includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php) make a query to get the upc from the newly created table.

Hope this gives you some idea

Imranul Hoque
Director @ codeTrio
www.imranulhoque.com

11 Sep 2012, 11:47 AM
#7
imranulh avatar

imranulh

New Zenner

Join Date:
Jun 2005
Location:
Dhaka, Bangladesh
Posts:
21
Plugin Contributions:
2

Re: product attributes selected to load different product UPC's in the cart

Not possible by default Zencart. I can give you some idea how to implement it:

(YOU NEED TO KNOW WORKING WITH ZENCART CODE)

  1. Create a new table with 3 fields, products_options_id, products_options_values_id, upc
  2. Edit attribute manger tool to add upc for the option value
  3. On front end, in shopping_cart page template (includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php) make a query to get the upc from the newly created table.

Hope this gives you some idea

Imranul Hoque
Director @ codeTrio
www.imranulhoque.com

11 Sep 2012, 9:06 PM
#8
elite_supplement avatar

elite_supplement

New Zenner

Join Date:
Jun 2012
Posts:
46
Plugin Contributions:
0

Re: product attributes selected to load different product UPC's in the cart

thanks for the response.. unfortunately this is out of my capable scope.. :/ I wish someone would create a module for this type of issue