Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / need itemized total for charitable contributions

need itemized total for charitable contributions

Locked

Views: 1,102

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Jun 2008, 2:07 AM
#1
thebram avatar

thebram

New Zenner

Join Date:
Jun 2008
Posts:
2
Plugin Contributions:
0

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

25 Jun 2008, 3:15 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

25 Jun 2008, 9:52 AM
#3
thebram avatar

thebram

New Zenner

Join Date:
Jun 2008
Posts:
2
Plugin Contributions:
0

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.