Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Posts
    27
    Plugin Contributions
    0

    Default Checkbox Attributes and Quantities

    I am trying to set up an item, for example:

    Product "Pirates of the Caribbean", with long description of the story.

    With attribute checkboxes

    Book
    DVD
    Music CD

    No quantities, just accepting 1 on Add to Cart.

    So I tick Book and click Add to cart, and it goes in the cart OK and lists the attribute. That's OK.

    Then I go back and tick DVD, click Add to Cart, and it goes in the cart as a second listing. That's OK.

    Then I go back and tick Book AND tick Music CD, click Add to Cart.

    The problem is that the first shopping cart item quantity is now 2, but the attributes say Book and Music CD. So I don't know whether he wants 2 books or 2 Music CDs.

    I am trying to get around this, but would appreciate some help.

    It would be OK to list a new shopping cart item for each Add to Cart click, but I don't know where to change that.

    Or, better, just allow them 1 checkbox to be clicked at a time before Add to Cart - I did change the attribute listing to have an Add to Cart on each attribute, and hide the checkbox, but I could not work how to automatically tick the checkbox on the button click.

    I've been playing around with attributes.php, tpl_product_info_display.php, and tpl_modules_attributes. (My own template versions of.)

    Thanks.
    (no link online as yet)

  2. #2
    Join Date
    Aug 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Checkbox Attributes and Quantities

    Looking at this even more, is this a bug?

    I am pricing by attributes, and in the above example, they have ordered 2 x Books and 1 x Music CD, but because they clicked Add to Cart Twice, they are paying for (this is the way it is calculated) 2 x Books and 2 x Music CDs.

 

 

Similar Threads

  1. attributes and quantities
    By 21yanks in forum General Questions
    Replies: 5
    Last Post: 12 Feb 2014, 02:34 PM
  2. Need help moving checkbox attributes
    By modeltruckin56 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 14 Dec 2009, 08:08 PM
  3. attributes help for multiple quantities and prices
    By dellvostro in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Oct 2008, 05:11 PM
  4. attributes and quantities for clothing sizing
    By MerchNation in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 May 2008, 03:10 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR