Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Product Listing Download add to cart button

    1.3.9h I'm wondering if this post by DrByte from 2009 is still relevant and will give me the results I'm looking for.

    I've set up many carts but this is my first with download products and I've tried for weeks now to get a configuration that will allow the customer to add a selection of download products to their cart from the Product Listing page.

    My current attempt has the album as a category and each tracks as a product with one pre-selected attribute radio button.

    this post by DrByte requires lots of edits and it is a closed 09 thread.

    The example someone posted does not really do what I want but keeps requiring the customer to return to the product listing page.

    So can adding several download products to the cart on one click be done in 1.3.9h?

    http://www.zen-cart.com/forum/showthread.php?t=142161

    Thanks for any insight.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Product Listing Download add to cart button

    The post by DrByte requires four edits, which are explained pretty clearly. I'm not sure if there would be any problem with those edits in 1.3.9h, but if I wanted that functionality, I would create a test Zencart installation, make the edits and check things out.

    There's no other mod I'm aware of that does that.

    Does seem like it would be a handy mod for download-only sites.

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

    Default Re: Product Listing Download add to cart button

    It can be adapted for 1.3.9 by making similar edits. I've not compared the code with 1.3.9, but I don't think a direct copy+paste will work seamlessly without breaking new things added in 1.3.9. YMMV

    As with all upgrades, concepts are essentially universal. Their implementation may have to be altered slightly to suit the new version.
    .

    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
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Product Listing Download add to cart button

    Thanks for such a quick reply, DrByte. Say..thanks so much for zencart...you are our hero...

    It may be beyond me to do this but I may continue to fiddle with it. I'll post any success.

    Do you think this functionality will be a part of future releases?

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

    Default Re: Product Listing Download add to cart button

    It's already built into the 2.0 specifications. But to apply it to v1.3.9 or 1.5.0, you'll need to make the edits manually yourself.
    .

    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
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Product Listing Download add to cart button

    That's great. I guess I could wait but I just went through the files from 1.3.9h mentioned in the old post comparing to zencart 1.3.8a and it appears that the code in the sections that require edits are exactly the same.

    I'll try and see what happens.

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

    Default Re: Product Listing Download add to cart button

    Correct.

    I've just checked:
    The edits are safe to apply to original core files of v1.3.9; just use care since the line numbers have changed in several cases.
    .

    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.

  8. #8
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Product Listing Download add to cart button

    SUCCESS!!! A little dicey...but not too....WinMerge was invaluable.

    Now, just FYI I have a clean install of 1.3.9h and no mods added. As far as I know there are no ill effects. I did change the button name to "Add To Cart" and the return to shopping function takes me back to the Product Listing page to grab more tracks. Excellent!

    Thank you again.

 

 

Similar Threads

  1. No Add-To-Cart Button on Product Listing Page
    By carol2848 in forum Basic Configuration
    Replies: 12
    Last Post: 23 May 2013, 01:49 PM
  2. Add to cart button in product listing boxes
    By mcpisik in forum General Questions
    Replies: 0
    Last Post: 29 Jan 2010, 06:50 PM
  3. Add to cart Button on Product listing page
    By raunharman in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Feb 2009, 11:47 AM
  4. Replies: 2
    Last Post: 9 Jan 2009, 12:33 PM
  5. how to put a add to cart button on every product in product listing page??
    By lastpirate007 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 11 Sep 2007, 05:47 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