Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Posts
    16
    Plugin Contributions
    0

    Default add selected products to cart button

    I'm considering setting up ZC as an intranet digital archive manager for a small publisher. Other systems I have looked at don't have anything like the support and modification possibilities that Zen Cart has.

    All the "products" will be downloadable collections of digital assets for a particluar book. Categories will be something like: all books by catalog number, linked to: all books by title, all books by genre, new issues by month, etc. and each book will have multiple downloadable files applied using product attributes.

    End users will want to download multiple (even hundreds) of titles at once to send to dealers for their own websites, and they will want to select many products at once.

    How might I go about changing it so that the "add selected products to cart" button just adds all the products in a current category?

    Any help would be great.

    A.D.

  2. #2
    Join Date
    Jan 2011
    Posts
    16
    Plugin Contributions
    0

    Default Re: add selected products to cart button

    Maybe there could be a way to add a "select all" button next to it?

  3. #3
    Join Date
    Jan 2011
    Posts
    16
    Plugin Contributions
    0

    Default Re: add selected products to cart button

    ...finally found some relevant posts on this subject.

    I am currently just trying to make these mods in a test store version 1.3.9h. If I am successful, I will implement on an internal site for a team of sales/marketing and creative staff to be able to access digital assets by catalog number, or category and download selected items. I'm not in to failing.

    I configured all my products to be virtual with a set number of downloadable attributes. (each one will have attribute A, B, C, and D) I have all my attributes set to display checked and all my products default to qty=1. First goal is to get the "add selected items to cart" button to turn back on.

    First mod: adding attributes to product listing page
    http://www.zen-cart.com/forum/showthread.php?t=98641

    This mod adds the attributes from each product to it's listing on the products page. It allows me to activate the "add selected items to cart" button. Good, hope it actually works, I see some dubious looking qualifiers at the end of the thread, I will have to look into.

    Now if I have all attributes appearing selected by default and all products have qty box=0 (so that all quantities default to 1), then when I press add all selected items to cart, they should all be in my cart. ...but alas, my cart is still empty.

    Move on to this mod.

    Sell Entire Category.
    http://www.zen-cart.com/forum/showth...ory+cart+click

    Apparently, this has not been worked on yet.
    Would it really be that complicated to have a "select all" button next to the "add selected items to cart" button? I'm not unfamiliar with php and I have learned other programming languages so I have due respect for how tough it can be to do some things that would otherwise seem simple. I am willing to give this a try. I just need to get my head around the big picture.

    Reading through includes/modules/product_listing.php
    and includes/classes/products.php
    and includes/templates/default_templates/tpl_modules_product_listing.php

    Will post anything I come up with. Maybe someday someone else will want to do this.

    A.D.

 

 

Similar Threads

  1. Add Selected Products to Cart Button
    By dmacmanes in forum General Questions
    Replies: 2
    Last Post: 24 Jul 2009, 03:51 PM
  2. Add Selected Products to Cart button
    By wondergirl in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 May 2006, 06:36 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