Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    4
    Plugin Contributions
    0

    Default Stop products from being added to cart.

    Is there a away to stop a product to be added to the cart, besides giving an out of stock option. Here is my situation.

    I am running a digital music store, where the products are albums, but in order for the user to be able to pick and choose individual tracks, I made each track a product attribute.

    The problem I am having is someone can click on the product and select add to cart, before adding any tracks or the attribute for the full album. I would like to be able to pop up a message asking them to make a track or album selection, instead of adding a $0.00 item into their cart.

    Can this be done easily?

    Thank you,

    -distraub

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Stop products from being added to cart.

    You probably need to look at making the attributes "REQUIRED ATTRIBUTES".

    There are many posts inb the forum on working with REQUIRED ATTRIBUTES.

    When attributes are required, a product cannot be added to the cart until that required attribute has been selected.

  3. #3
    Join Date
    Sep 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stop products from being added to cart.

    Quote Originally Posted by fairestcape View Post
    You probably need to look at making the attributes "REQUIRED ATTRIBUTES".
    Thanks for the reply, unfortuately I am still having trouble after reading the required attribute threads. I tried making the attributes required but I could still add the product to the cart without selecting an attribute.

    Each song in my store is an attribute (checkbox) you can seleect multiple songs which makes sense. I would like to have a way to force the user to select one item , and if they try to add nothing to the cart pop up a message saying you must add an album or track.

    Here is my product page.

    http://s9sonline.com/store/index.php...&products_id=6

    please if you know of a way to do this, or could point me in the right direction that would be great.

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

    Default Re: Stop products from being added to cart.

    Unfortunately, you are using checkboxes for this and checkboxes do not have, at this time, any kind of testing done to ensure a selection has been made ...
    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. Keeing products from 2 categories from being added into the cart
    By jamadri in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 30 Aug 2013, 11:59 PM
  2. Products not being added to Cart
    By richard2336 in forum General Questions
    Replies: 3
    Last Post: 14 Sep 2009, 04:13 PM
  3. products not being added to cart
    By wagnerguy in forum Basic Configuration
    Replies: 2
    Last Post: 27 Apr 2009, 05:21 PM
  4. Stop products from being disabled?
    By yellow1912 in forum General Questions
    Replies: 14
    Last Post: 27 Aug 2007, 04:06 PM
  5. prevent expected products from being added to cart
    By kiddo in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 28 Dec 2006, 07:59 PM

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