Closed (fixed)
Project:
Ubercart Ajax Attribute Calculations
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2010 at 02:33 UTC
Updated:
25 Aug 2010 at 21:50 UTC
Hello,
After upgrading to Ubercart 2.3 and later 2.x, products with attributes cannot be added to cart: cart is empty.
It seems to be a different problem than http://drupal.org/node/858816
I hope you will fix this issue quickly, as it is a real problem for us.
Kind regards,
Jean-Michel
Comments
Comment #1
grub3 commentedI disabled Ajax Attribute Calculations
and it worked fine again.
So moving to Ajax Attribute Calculations module.
Comment #2
ShadowMonster commentedThe same problem for me.
I fix it by comment it:
I do not know for what is it this is my first time use this module anyway after comment it is working correctly now.
Anyway before do it I been have message:
Hope so this help
Comment #3
encho commentedI can confirm this.
Comment #4
cyu commentedWith a base install of Drupal 6.17 with UC 6.x-2.3 and latest dev of uc_aac 2.x I create a product with 1 select box attribute containing 3 price affecting options, and I'm unable to see this problem. Can you please give me steps to replicate so that I can see this error message?
Comment #5
cyu commentedComment #6
grub3 commentedI am using Drupal 6.17, UC 6.x-2.3 and latest dev of uc_aac 2.x.
My products have several attributes.
Comment #7
grub3 commentedstring substr ( string $string , int $start [, int $length ] )So
substr($form_id, 'uc_product_add_to_cart_form_')is obviously wrong.Comment #8
cyu commentedHmm...yes, looks like that was intended to be strstr instead of substr. I missed that when committing the patch at http://drupal.org/node/446942#comment-3205256
I've committed the fix to cvs, and if that fixes the issue this can be closed. Thanks for hunting down the bug.
Comment #9
grub3 commentedThanks, the new dev version worked for me. Setting to fixed.