Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#1 | uc_wishlist-6.x-1.x-dev_canship.patch | 479 bytes | tinker |
Comments
Comment #1
tinker CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: Sagar Ramgade commentedCommitted the patch with some modification Commit #f2b9929
Comment #6
tinker CreditAttribution: tinker commentedThx @sagar for the commit!