Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / zero price in shopping cart if attribute not selected

zero price in shopping cart if attribute not selected

Locked

Views: 1,745

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 May 2008, 10:37 PM
#1
artbobo avatar

artbobo

New Zenner

Join Date:
Apr 2008
Posts:
25
Plugin Contributions:
0

zero price in shopping cart if attribute not selected

I've set up a product with two attribute prices
Product price is set to 0.
Product is set to "priced by attributes".
On the main product page everything appears as expected with the "Starting at:" displaying the lower price.
The attribute options are radio buttons neither are selected by default.

Here's the problem:
If the user adds the item to the carts without selecting an attribute then the price in the cart contents is zero.
Is there a way to set the radio button to a default or to set the shopping cart item price to the "Starting at:" price.

I think this is a bug. If the Starting at price is displaying greater than zero then the user shouldn't be able to have the item in their cart with a price of zero.
--artbobo

7 May 2008, 3:10 AM
#2
artbobo avatar

artbobo

New Zenner

Join Date:
Apr 2008
Posts:
25
Plugin Contributions:
0

Re: zero price in shopping cart if attribute not selected

Doh!!
Using the default button in the attributes controller sets the default value.
--artbobo

8 May 2008, 11:01 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: zero price in shopping cart if attribute not selected

Thanks for the update on what worked for you ... :smile:

NOTE: an additional solution to ensure the customer picks the "right" attribute is to setup an attribute for something like:

Pick One
What do you want?
etc. etc.

Set that Attribute Option to:
Sort Order: 0
Default: YES
Display Only: YES

Now, the customer has to make a choice as by default they cannot add your defaulted Attribute for Pick one to the shopping cart and you no longer get little Johnny ordering X-Large when he needs a Small ... :cool:

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!