Forums / Developer / Shop Donation / Comment46908

Author Topic

Bruce Morrison

Tuesday 13 February 2007 5:14:39 pm

Comment46908

Thanks for the feedback /dev/null. I hadn't considered the issue of quantities. I'm not sure it's a big issue as users would have to actually increase the quantities themselves - i.e. make a conscious decision to donate more.

With ezoption data type you can set additional prices
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/datatypes/option
This could be used as you describe to create a predefined list of donations options. Our client wants this <b>and</b> the ability to do arbitrary donations as well as selling products.

Other less thought out solutions I've had involve creating a module that collects the donation value and stores it in the session. Workflow would be added to the shop to add this to the "basket" in much the same was that shipping handlers work.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish