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.
The uc_order.controller.inc (line 89) is trying to access product->cost but the fake cart item object returned by _uc_coupon_cart_item does not set this property. The simple fix is to add the cost property to the object as 'cost' => 0.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2160743-1.diff | 629 bytes | neale.wolfson |
Comments
Comment #1
neale.wolfson CreditAttribution: neale.wolfson commentedComment #2
neale.wolfson CreditAttribution: neale.wolfson commentedPatch as suggested above, just to give you something to work with.
Comment #3
natukThis seems to have worked for me.