Thanks for the reply. I'm going to take this step by step to help me understand all of the related parts.
1) I have created a single product called "Donation" with a 0 dollar value.
2) On the order form I have created an options list
Label: Donation Amount.
Related product: Donation
As an example, I have set the options as follows:
Value = 100
Description = $100
Related Product: Root - Donation
QTY = Empty
I have 5, 25, 50, 100, 250, 500, 1000, and Other set up as Options. The Other selection is set up as follows:
Value = Other
Description = Other Amount
Related Product = Root - Donation
3) On the Advanced tab for the order form I have entered this per your custom amount directions:
$orders = array();
$order = array();
$order['net_price'] = format_number(nbf_common::get_param($_POST, 'other_amount_1'), 2);
$order['tax_rate'] = 0;
$order['tax_amount'] = 0;
$order['product_name'] = "Donation";
$order['quantity'] = 1;
$order['product_id'] = 8; //Change this to whatever your actual product ID is
$orders = $order;
Ignoring the user entered donation amount for a moment. I save the form, then open the form on the user side. If I select the normal option for $100 I get this result on the next page: Order Details
Donation Amount $100Order Summary Totals
Donation USD 0.00
I know I'm missing something here. How can the $ amount of the normal options (entered in the Value field) get assigned to the Donation product? bypassing the custom pre calculation code?
I have tried setting up separate product for each donation amount then assigned the individual options to those products with actual $ amounts associated rather than option values, but get the same result.
If I enter the custom $ amount into the Numeric box, it works great.
Thanks for the help.