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

CommentFileSizeAuthor
uc_donation_cart_remove.patch.txt778 bytesnoahlively

Comments

fcortez’s picture

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?

jasonawant’s picture

@noahlivel, does this work with page caching enabled?

jwant