When I add a product to the cart, I can add it but it shows the message:
Notice: Undefined property: stdClass::$is_auc em uc_auction_form_alter() (linha 281 de /var/www/drupal7/sites/all/modules/uc_auction/uc_auction.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | uc_auction-undefined_property_is_uac-1556830-10.patch | 906 bytes | SeanA |
| #8 | uc_auction-undefined_property_is_uac-1556830-8.patch | 1.94 KB | kalabro |
Comments
Comment #1
xpete commentedThis can be fixed with this code:
Comment #2
rfarm commentedxpete,
I have the same error as silviacm.
Should your code replace lines 280 to 294 in uc_auction.module? I am a little lost on this one.
Thanks for your help.
Comment #3
xpete commentedyes.
Comment #4
rfarm commentedIt worked - thank you very much!
Comment #5
batosti commentedI made this changes, but when I add the product to cart the amount is the Sell price, not the High bid. Someone checked this?
Comment #6
batosti commentedI found an issue, the uc_auction_uc_cart_item method aren't called, because the Ubercart API as changed, and the 'load' op code was removed:
CHANGELOG.txt: * Removed 'load' op from hook_uc_cart_item().
So I think this is not working under the lastest version of Ubercart in drupal 7. Anyone can help me out to make this working? I'm new in drupal and this is very complex.
I also changed the priority to critial. Since you can't buy the product by the auction price, the auction isn't working at all.
Thanks in advance
Comment #7
xpete commentedHere is a better fix:
batosi, your problem is already reported here:
http://drupal.org/node/1360280
Comment #8
kalabroPatch with fix attached.
Comment #9
SeanA commentedComment #10
SeanA commentedIt looks like kalabro's patch contains additional changes that address a different issue. Re-rolled patch.