Hey,

thanks for that module! It's working pretty good. But there seems to be a problem if you do not add any attributes to some products.
If there are no attributes available the following errors occure if you press the add to cart button:

warning: Invalid argument supplied for foreach() in ../uc_dependent_attributes/uc_dependent_attributes.module on line 140.
warning: key() [function.key]: Passed variable is not an array or object in ../uc_dependent_attributes/uc_dependent_attributes.module on line 151.
warning: array_slice() expects parameter 1 to be array, null given in  ../uc_dependent_attributes/uc_dependent_attributes.module online 173

Any ideas how to fix this?
cineasta

Comments

jantoine’s picture

Status: Active » Fixed

Cineasta,

I am sorry it took me so long to get to this. I was focused on an Ubercart Ajax Attributes Calculations 6.x-2.0 release before investing to heavily into this module. That said, this issue has been fixed in the repository. Remember it can take up to 12 hours for a new dev snapshot to be released. Thanks for testing!

Cheers,

Antoine

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.