I've encountered an incompatibility between UC Price per Role and Donation products. If a donation product is in the cart with a price, and a product with uc_price_per_role is added, the donation cart item price gets reset to 0.00.
Donation products have price 0, with price being entered by the customer. uc_price_per_role generates a row in uc_price_per_role_prices table with price = 0, and in uc_price_per_role_uc_cart_alter() the price of the cart item is set to 0.00. The attached patch prevents a role price of 0.00 being saved, which is sufficient to resolve the issue I have encountered, but might not be the correct solution if someone has a use case for a 0.00 role price.
Comment | File | Size | Author |
---|---|---|---|
uc_price_per_role_uc_donation.patch | 716 bytes | jonathan_hunt |