Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jul 2007
    Posts
    69
    Plugin Contributions
    0

    Default Donation product type

    Hey Zenners,

    As part of my work with YES! Magazine, I created a donation product type. Check it out here:

    http://www.yesmagazine.org/store/ind...products_id=12

    It lets customers select from a number of pre-defined amounts ($25, $50), enter their own amount, and do recurring monthly donations.

    The way it works is that it's a product with a value of $1 and the quantity becomes the value of the donation.

    I'm interested in contributing my work back to the open source community. However I don't have a lot of spare time and a bad case of tendonitis prevents me from doing lots of extra work. In addition, to create this product type I had to do a bunch of modifications to a bunch of template pages, and modify some core files. These changes were associated with changing the display of the quantity. So if somebody donated $50, it should show

    Donation $50

    instead of

    50 x $1 Donation $50

    I can't think of how to easily wrap up my changes. So if somebody with more ZenCart experience wants to talk, that'd be awesome.

    Kevin

  2. #2
    Join Date
    Sep 2005
    Posts
    24
    Plugin Contributions
    0

    Default Re: Donation product type

    Would you be willing to help me do this with a site I'm working on? It's for a camp for disabled children, and they would like to take donations and I thought that bouncing it through their camp store would be the best way to do it.

  3. #3
    Join Date
    Oct 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Donation product type

    Did you get this to work? I am very interested please.

    Thank you in advance.

    Tom

  4. #4
    Join Date
    Jul 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Donation product type

    Yep, check out the link I posted above. For a basic donation product, you can simply cannibalize the code on the product page.

    It's simply a product with a price of $1. The quantity determines the total donation. The meat of it is the Javascript on the product page that updates cartQuantity when the user clicks on a radio box or enters a value. You'll probably want to get rid of the code that handles our "Dedicated Friends"; it sets an attribute that lets me know this is a recurring monthly donation.

    The only other part is finding every page where it displays
    50 x Donation ($1)
    and updating it to display
    - Donation $50

    Of course that's optional. I know one guy who didn't bother. People will get the idea either way.

  5. #5
    Join Date
    Oct 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Donation product type

    Thanks my friend! Very much appreciated!

  6. #6
    Join Date
    Aug 2005
    Posts
    7
    Plugin Contributions
    0

    Default Re: Donation product type

    audleman,

    I think that ALOT of nonprofit people REALLY would be interested in this. I have wanted this for a couple of years, and have never had the time or knowledge to do it.

    What you have could serve many many nonprofits.

    I encourage you to simply document in the forum what specific mods you made to the various files involved.

    Did you use attributes on one product? Looks like!

    How to you get the "other" line item to have a "quantity box"? and not the rest?

    Please PLEASE do what you can to document this more fully. I would be very willing to write it up formally if you were to just throw some rough notes my way.

    Will

  7. #7
    Join Date
    Aug 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Donation product type

    I also represent a non-profit, and would love assistance with implementing this. Has the documentation been created yet?

    Thanks.

  8. #8
    Join Date
    Jul 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Donation product type

    Friends,

    There appears to be some interest from a number of groups for my donation module. I think I will look at what it will take to wrap up my work into an open source package. Please hold :) I'll get back to this thread in a couple of days...

    Kevin

  9. #9
    Join Date
    Feb 2007
    Posts
    109
    Plugin Contributions
    0

    Default Re: Donation product type

    I am looking for exactly this type of module. For now I am going to modify the template files but I would love to see this available.

  10. #10
    Join Date
    Mar 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Donation product type

    I'd like to revive this thread. I've seen many people in search for this and audleman hit it Right On. I think we would ALL like to know how he did it. I would pay for an add-on such as this. I can not find one for free or to purchase. How is this done?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product With Ability To Enter Any Price As Donation
    By OneSister in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Jan 2010, 07:54 PM
  2. Auction Product Type: Can't add a product of the type.
    By sw0rdz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Sep 2009, 02:11 AM
  3. Product Type cloned from General Type
    By mhfein in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 8 Jan 2009, 04:37 PM
  4. Donation-like product
    By jonthelam in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 4 Mar 2008, 03:08 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