Donation as Product (new issue w/ shopping cart)

Posts: 23
Joined: 01/30/2008

Everything seems to fine in this contrib, at this point, except that changes do not take in shopping cart when a different amount is entered and 'update cart' is used.

If an amount of 0 is added, it adds to the cart, but any number entered (in any format - 0 or 0.0 or 0.00) to adjust the amount up from zero leads to an error saying "You have entered an invalid amount."

Anyone know what I should look for here?

Thanks!

Posts: 23
Joined: 01/30/2008

Has something to do with this bug:

http://www.ubercart.org/issue/4517/default_amount_hard_coded_20

However, even after this correction, the issue starts when a default amount of zero is used when creating the initial donation product. When you 'add to cart' without looking at the details of a product, it adds the amount of zero, which is then impossible to change unless you go back to the details of the product and enter an amount (because it errors out in the cart).

One way around this could be to use the default "Make a Gift" menu item under Navigation the link to the donation product. However, this would not allow you to use it as a Taxonomy term as an item within a "Catalog" taxonomy.

Posts: 88
Joined: 11/06/2007
Bug FinderGetting busy with the Ubercode.

The latest version of the Donation Product module has been released on drupal.org. Try installing that version, you will probably have to remove the '&' again for your setup. Out of curiosity, what PHP version are you running?