1) I'm unable to remove from my cart any items that have the "custom" SKU and been added to the cart, regardless of whether I entered a custom amount or choose the default price choice

2) Both the Shopping Cart page and the Cart module show "custom" as an added item, even when the customer does not enter a custom price. If a custom price IS added by a user (for example, $33) then the Shopping Cart and cart module show "custom 33" which would be fine except that...

3) In addition to the custom price being added to the cart, the item in the dropdown is ALSO added to the cart. For example, if I have two contribution levels (Donor at $100 and Contributor at $500, let's say) and Donor is sort level 1 so it's the "default" item in the dropdown, and I ONLY enter 33 in the custom field... then TWO items are added: 1 that says "Contributor Level Donor" for $100 and "custom 33" for $33.

Any quick ideas on how to fix this? I realize you were making a quick helpful solution, so I don't want to abuse your goodwill. I would gladly make a donation to get this resolved.

I was able to make two small changes to your code in system/library/cart.php to get it to work:

1) Added an IF statement so that the word "custom" wasn't added to the cart display when a custom price was not entered by a customer (in other words, when the customer was happy with the default price)

2) Instead of using "custom_" at the beginning of the option name, I changed it to "custom-". I did that because the callback function of the cart module explodes on the underscore character, so the original underscore you had after "custom" was causing problems when trying to remove the item from the cart module (not in the cart's "Remove" checkbox, which was working just fine).

Seems to work now, though it hasn't been fully and completely tested! I edited your file and attached the fix.

Hi all,
Would love to know if user-defined amounts for a product is available for OC 1.5+
I understand that there's a charity module out there, but the only way it works is if a customer has already added a product to their cart. If a potential user only wants to donate, it can't be done.
Is there anyway to take a mandatory product text option, convert it to the currency of the store and add the product with that price to the cart? I'd pay for that extension.
Thanks so much!
Mindy : )

I got this working with the fixed version, however I need it to hold the decimals entered. For example if a customer enters $1.25, it will drop the $.25, I need it to move the $1.25 to the cart.
Also is there a way to for the customer to ad a custom note or description to this?
I'm using this for a service billing invoice and I need them to enter the invoice # also.
Thanks!

Figured out how to allow the customer to also enter the invoice #, but no luck with the decimals. I'm really stuck on this and hope someone has an answer, it's not making sense to me because you can use decimals when using regular options, but not with this mod.

I too, need a way to accept donations, and the donation mods don't work. I need them to be able to add it to the cart just like any product, but to enter the amount in they wish to donate. The reason for this, is that they will be donating to several different funds.

I am trying to do this for 1.5.5.1, and tried to follow these instructions, but am lost. For instance, I can't even find the text in the product.tpl that the download refers to.

Can anyone help walk me through the process? I would even be happy to pay!

I basically need the same thing. Am using 1.5.5.1, but am completely lost on how to add a product with a user-defined price. The donation mod doesn't work for me, as the user will need to be able to add multiple products with a user-defined price.

Can someone walk me through setting this up? I downloaded the modification, but don't even the see the text that is referenced in the product.tpl file. Am I missing something? I would be happy to pay for help if needed. I really need to get this working and am in a time crunch.