Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: zero price in shopping cart if attribute not selected

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

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: zero price in shopping cart if attribute not selected

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

    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 ...
    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!

 

 

Similar Threads

  1. Replies: 0
    Last Post: 12 Apr 2015, 10:31 PM
  2. Display customer selected product attribute option and value in shopping cart
    By daedylus in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 24 Dec 2011, 04:30 PM
  3. In product price by attribute selected and quantity button disapper from add to cart
    By ronaldlb in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Feb 2011, 05:08 PM
  4. If attribute not selected - ERROR in the shopping cart
    By mikajlo in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Apr 2007, 03:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg