The Donate Page is a great idea. When filling out the Donate Page with donation products in various groups, we get the following if there are any products with a $0 dollar amount (those that we don't want to have added to the cart):
* Amount value has to be a number
Is there a way to allow $0 amounts? We have several products, but want to give shoppers the option to skip some.
Thanks!
Comments
Comment #1
bunger commentedI would like the second this fix... would be a great to have this!
Comment #2
WebbyWorker commentedFigured it out!
A change can be made in the uc_donate.page.inc file (under uc_donation/uc_donate module directory). Approximately line 90, change from less than or equal to zero to just less than:
Change:
if (!is_numeric($donate_amount) || $donate_amount <= 0){to:
if (!is_numeric($donate_amount) || $donate_amount < 0){This allows you to skip adding other items. It looks like you can only add each item to the cart once, which is OK.
Comment #3
greenskin commentedCommitted.