Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2008
    Posts
    2
    Plugin Contributions
    0

    Default need itemized total for charitable contributions

    I'm setting up a charitable website that donates retail profits to charity. The product price is set with a base price and the receiving charity is specified using an attribute.

    What I would like is for the attribute (charity) to be itemized seperately so the customer can keep this information for their tax records.

    ie:
    Subtotal $13.95 (base price)
    Charity $7.00 (attribute)
    Shipping $0.00
    Tax $0.00
    Total $20.95

    Is there a way to tweak Zen cart to use the above layout during the checkout process, on the email order notification, and on their purchase history?

    I'm still in the development/testing phase so if anyone has any off-the-wall suggestions let me know, I can easily scrap what I've got going and start over from scratch if I have to.

    Thanks everyone,
    Brandon

  2. #2
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: need itemized total for charitable contributions

    You might want to explore creating another order_total module to read all the attributes on all the products in the cart and then generate output content for all the possible combinations of items that might be created in the process.
    The benefit of using that infrastructure is that it gets saved in order history and in order confirmation emails.
    But I suspect there will be a lot of hard-coding of content required, depending on how many charities you've got set up as attributes, and whether you have any *other* attributes also set up, etc.

    Reporting on attributes for your own purposes can be rather tricky though.

    If you get stuck, you might post in the Commercial Help Wanted area for paid assistance if it comes to that.
    .

    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.

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

    Default Re: need itemized total for charitable contributions

    Thanks DrByte,

    The custom order_total module does sound like the ideal way to go. It would give me the flexibility I need. But yeah you're right -- getting the attributes set up will be a nightmare. Instead of using the actual (retail profit - cost = attribute price) system, it would save my sanity to probably go with a percentage system so I can apply changes across the board without manually working with attribute prices on over 5000 combinations.

    The obsessive compulsive side of me still wants the actual profit for each product, but with the manufacturer I use the retail/cost percentage remains fairly stable from product to product so that may be my best bet.

    Thanks again, my brain needed a jolt.

 

 

Similar Threads

  1. Charitable Donation Module?
    By absoluteblock in forum Addon Payment Modules
    Replies: 1
    Last Post: 22 Oct 2011, 05:30 PM
  2. Charitable Contribution w/Purchase
    By expresso in forum General Questions
    Replies: 1
    Last Post: 10 Dec 2008, 08:55 PM
  3. Sharing a portion of proceeds as Charitable Donations
    By SaMortensen in forum General Questions
    Replies: 0
    Last Post: 22 May 2008, 03:46 PM
  4. Need two contributions
    By guimaraes in forum General Questions
    Replies: 3
    Last Post: 21 Jun 2006, 05:51 PM
  5. Need Order Total Variable For iDevAffiliate
    By etrader in forum General Questions
    Replies: 5
    Last Post: 19 Jun 2006, 07:57 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