I was going nuts trying to figure out why my downloadable products where saying they needed to be shipped. Finally I discovered it was the the uc_wishlist module that caused it.
function uc_wishlist_cart_item() -> case 'can_ship': returns TRUE for all cases
This should be commented out // return TRUE;
uc_wishlist should not say whether items in cart are shippable or not. The cart does this by default.
This conflicts with uc_file, for downloadable products, which correctly alters the shippable state.
This is in uc_wishlist 6.x-1.1 and 6.x-1.x-dev
Comments
Comment #1
tinker commentedThis is still a problem in dev and stable release. I have attached a patch. Please can this fix be committed. Thanks
Comment #2
tinker commentedSuper old one liner patch. Marked critical for ages because it messes with ever other module that checks if product is shippable. How about a commit?
Comment #4
sagar ramgade commentedCommitted the patch with some modification Commit #f2b9929
Comment #6
tinker commentedThx @sagar for the commit!