Patch (to be ported)
Project:
Ubercart Donation Products
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 20:25 UTC
Updated:
13 Jan 2010 at 18:28 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| uc_donation_cart_remove.patch.txt | 778 bytes | noahlively |
Comments
Comment #1
fcortez commentedI applied this patch and found that the donated products delete but the maximum/minimum check that uc_variables applies does not appear. Any suggestions?
Comment #2
jasonawant@noahlivel, does this work with page caching enabled?
jwant