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