Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / How do I show a product that comes in two packages sizes & Prices?

How do I show a product that comes in two packages sizes & Prices?

Locked

Started by jbsny on 16 Jul 2010, 9:48 PM · Views: 1,008

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Jul 2010, 9:48 PM
#1
jbsny avatar

jbsny

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Post #1 by jbsny

I am a new Zen Cart user and am having a difficulty.

All items on my web site come in two package configurations, each with its own price. If I enter the products the "standard" way I need to enter every product twice (once for each package) and have it viewed by the customers as two separate items.

How can I enter this in the product list so that it shows with one entry and one picture but two prices and select buttons. A pull-down menu or two buttons or something similar would all work.

I am using Zen version 1.3.9d.

Thanks.

16 Jul 2010, 10:35 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Post #2 by niccol

What you are after is attributes.

https://www.zen-cart.com/tutorials/index.php?article=57

That will get you started :smile:

Basically you need to define an option name, for instance 'package'. Then you give that option name two (or however many you want) option values. Then you use 'attribute controller' admin >> categories and products >> attirbute controller to tell zen which products have which attribute values.

Nick
iszent.com

17 Jul 2010, 4:53 PM
#3
jbsny avatar

jbsny

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Post #3 by jbsny

Thanks for that info. It has helped a bit. I was able to define two attributes and their associated prices. BUT, the "radio button" don't seem to have any effect. How do I get them to work?

17 Jul 2010, 5:03 PM
#4
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Post #4 by niccol

A little bit more information - and ideally a URL - is going to help.

What do you mean they don't work? Are they visible on the page? If you select one and add the item to the cart does the attribute appear in the cart? What exactly did you do?

Don't worry attributes are confusing to start with but then you'll get a lightbulb moment...

Nick
iszent.com

18 Jul 2010, 12:26 AM
#5
jbsny avatar

jbsny

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Post #5 by jbsny

The two attributes (package size choices with prices) appear for the item but the radio buttons appear as if both are selected and clicking on "add to cart" does not have any effect.

The TEST URL is:
http://www.happydogbakeryinc.com/index.php?main_page=shopping_cart&product_id=9%3A7c632d9cce377651250210f055db2a97

and the product in question is "Delicious Beef Stew."

What have I done wrong or not done?

18 Jul 2010, 4:45 AM
#6
ajeh avatar

ajeh

Oba-san

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

Post #6 by ajeh

What you appear to have done is made 2 Option Names each with 1 Option Value where the name of the Option Values are prices ...

What you need to do is make 1 Option Name with 2 Option Values ...

Option Name: Container Size

Option Values should be ...
Option Name: Container Size
Option Value: Single
Default Sort Order: 10

Option Name: Container Size
Option Value: Triple
Default Sort Order: 20

Then add the Attributes as:
Option Name: Container
Option Value: Single
Prefix: blank
Price: 6.00

Option Name: Container
Option Value: Triple
Prefix: blank
Price: 15.00

Then edit the Product and mark it with a Price of 0.00 and mark it as:
Priced by Attribute: YES

To ensure customers pick the Contain they really want, you can make a 3rd Option Value:
Option Name: Container
Option Value: Select size
Default Sort Order: 0

Then add to the Product
Option Name: Container
Option Value: Select size
Prefix: blank
Price: 0.00
Display Only: YES
Default: YES

This will force the customer to choose the one that they really want as they cannot add the Select Size option value to the cart ...

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!

18 Jul 2010, 4:52 PM
#7
jbsny avatar

jbsny

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Post #7 by jbsny

Thanks a million. That clears up my misunderstanding as to how this works!