Patch to fix bug preventing donation removal on cart form
noahlively - November 12, 2009 - 20:25
| Project: | Ubercart Donation Products |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | patch (to be ported) |
Jump to:
Description
Team,
I encountered a problem trying to remove a donation product from my cart on the cart summary page (path="cart").
Within the function uc_donation_update_cart_item, I found that if I pass $prev_data instead of $data to the uc_cart_remove_item function, it removes as expected.
This will help some people!
Noah Lively
www.koremedia.net
| Attachment | Size |
|---|---|
| uc_donation_cart_remove.patch.txt | 778 bytes |

#1
I applied this patch and found that the donated products delete but the maximum/minimum check that uc_variables applies does not appear. Any suggestions?