Re: Re: Re: Can customer enter payment amount?

Posts: 284
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

Another option would be to combine two contribs, Attribute Tokens and Custom Price Calculation.
You'd probably hide the sell and display price fields for the product and then setup an attribute field called 'payment amount' as a text field. The custom price code would set the product price to the price entered in that attribute field like...

$item->price = [payment amount];

although you'd probably also want to add validation.

Can customer enter payment amount? By: waynedrupal@drupal.org (6 replies) Mon, 03/17/2008 - 14:11