Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: downloads, single product with multiple files

    Quote Originally Posted by trillian View Post
    I was just saying I want the customer to be able to add just the ONE item to their cart, just
    as they would if buying a book or a CD, ie: I do not want the customer to have to tick
    two attribute options.
    Yes, I understand that part.

    If they were getting the downloads automatically by buying the CD, then the 2 separate option names method would solve the problem.

    Presently there's no built-in way to have one attribute checkbox add 2 attribute choices to the cart.
    You could probably add some custom javascript or jquery code to make that happen (ie: if one gets checked, the script auto-checks the other one for them).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default Re: downloads, single product with multiple files

    Quote Originally Posted by DrByte View Post
    Yes, I understand that part.

    If they were getting the downloads automatically by buying the CD, then the 2 separate option names method would solve the problem.

    Hmmmm, you have lost me.

    Why would that magically make it possible? If you cannot add two downloads with one click you cannot add two downloads regardless
    of whether they are supposed to get a physical CD or not, the idea of it being a CD is just a few lines of text in a product description.

    If I can create two option names, each with an option value of a different download, such as;

    download1 - part1
    download2 - part2

    And if both can be made checked by default, then would that not work?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: downloads, single product with multiple files

    You have a product, right? A CD you're trying to sell.
    That's a *physical* product.

    You also said that you want people to be able to buy EITHER the physical product OR the download, OR both.

    Right?


    If you want to allow them to select the download by checking a box, you can do that.
    You can even set up 2 attributes which are "checked" automatically just by visiting the product, before adding-to-cart.

    BUT ... you said you want to make the customer have the CHOICE of choosing the Physical ONLY, or the Download ONLY, or both. That means you need to offer checkboxes for the physical and the download.

    And, that would work FINE if you had only a single download file, because you'd simply set up a checkbox for download, and a checkbox for physical.

    But, since you want to have TWO download files, AND you want to give the convenience of only checking ONE box to get BOTH download files, AND ALSO give them the option of NOT checking EITHER download box, that means you're asking to have TWO checkboxes for virtual, independant of the checkbox for physical. It doesn't work that way.

    So, you have some options:
    a) give them 3 checkboxes: 1 for physical, and 1 for EACH download, perhaps adding some extra instructional text to hopefully help them not miss one
    b) option (a) above, and write some custom javascript to perhaps auto-check both download boxes if the customer checks either one, and vice-versa
    c) rewrite the whole download-file-attribute system to make 2 links instead of 1 in the order details whenever your particular product is purchased. Granted, that gets ultra complicated if you intend to apply that to more than just one product, etc.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default Re: downloads, single product with multiple files

    Geeez this has become so convoluted :)

    Let me clarify;

    First of all, forget CDs, forget physical products, there is no choice of one or the other or buy one and automatically get a download,
    I never said any of that, re-read what I actually wrote if you don't believe me :)


    It is One product. It is in downloadable form. It is 2 files. That's it.




    Quote Originally Posted by DrByte View Post
    You have a product, right? A CD you're trying to sell.
    That's a *physical* product.

    You also said that you want people to be able to buy EITHER the physical product OR the download, OR both.

    Right?

    If you want to allow them to select the download by checking a box, you can do that.
    You can even set up 2 attributes which are "checked" automatically just by visiting the product, before adding-to-cart.

    BUT ... you said you want to make the customer have the CHOICE of choosing the Physical ONLY, or the Download ONLY, or both. That means you need to offer checkboxes for the physical and the download.

    And, that would work FINE if you had only a single download file, because you'd simply set up a checkbox for download, and a checkbox for physical.

    But, since you want to have TWO download files, AND you want to give the convenience of only checking ONE box to get BOTH download files, AND ALSO give them the option of NOT checking EITHER download box, that means you're asking to have TWO checkboxes for virtual, independant of the checkbox for physical. It doesn't work that way.

    So, you have some options:
    a) give them 3 checkboxes: 1 for physical, and 1 for EACH download, perhaps adding some extra instructional text to hopefully help them not miss one
    b) option (a) above, and write some custom javascript to perhaps auto-check both download boxes if the customer checks either one, and vice-versa
    c) rewrite the whole download-file-attribute system to make 2 links instead of 1 in the order details whenever your particular product is purchased. Granted, that gets ultra complicated if you intend to apply that to more than just one product, etc.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: downloads, single product with multiple files

    Quote Originally Posted by trillian View Post
    It is One product. It is in downloadable form. It is 2 files. That's it.
    Okay.
    So ... this is what I've been saying all along ...

    Create 2 Option Names, as radio-buttons:
    - Download1
    - Download2

    Then create an Option Value, for each:
    - MP3
    - MP3

    Then create 2 attributes:
    - Download1, with MP3
    - Download2, with MP3
    Set BOTH as Selected by default.

    Done. Now both will show up, already checked, and will be included when Add-To-Cart is clicked.


    I think that's pretty much the same as Ajeh mentioned earlier.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default Re: downloads, single product with multiple files

    Quote Originally Posted by DrByte View Post


    I think that's pretty much the same as Ajeh mentioned earlier.
    Not really. But it is, in fact, what I mentioned earlier.

    Many Thanks :)

 

 

Similar Threads

  1. multiple options for a single product, with stock control
    By meatshop in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Sep 2010, 06:06 AM
  2. Single Product with multiple pictures
    By jordan8201 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 May 2009, 04:00 AM
  3. Single Product with Multiple Quantities of the Same Attribute
    By jalaco in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 24 Apr 2008, 04:46 AM
  4. Multiple files on a single product?
    By Rasyr in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 21 Nov 2007, 08:06 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