Forums / Developer / Shop Donation / Comment46907

Author Topic

/dev/null

Tuesday 13 February 2007 4:45:50 pm

Comment46907

Could you control quantity of a content object added to cart as one way to control subtotal price of order item?

Or does the kernel support a way to affect the value fetched for item price alone in a dynamic passed form variable way during the adding of a content object of class 'product' during add to basket (as the rest of the order system will use this price).

I read once ezoption could provide for simple options in this way, but a predefined list might not work for a donation product or would it ....

If your option was price which was in addition to a default product price of 0.00.
If you have option items in increments say 1,000$ to 100,000$ then the user can chose which increment for their donation.

You might want to place a disclaimer or other text instructing the user how to use the system right above the ezoption's display perhaps with the description attribute or a separate disclaimer description attribute.

It seems like a form to provide an unknown user the ability to submit any numeric number might not be as desired as you first think. A predefined list controls the bare minimum allowed and provides for increments from small to way to much. Controlled input seem like it would simply avoid what bruce describes, even though his idea prolly provides the greater set of functionality with the least amount of problems through an upgrade.

<i>/dev/null</i>

eZpedia community documentation project: http://ezpedia.org