1. Create a product class.
  2. Create a set of attributes.
  3. Attach multiple options to each of your attributes.
  4. Create a product.
  5. Attach the attributes to the product.
  6. Go to the Product "Adjustments" tab.
  7. Turn off a combination or two of options.
  8. Go to the product's page.
  9. Choose a combination you know you disabled.
  10. Notice anything funky?

    The product is added to the cart using a fallback attribute value for whatever combination is incorrect.
    What SHOULD happen, is the cart either
    a) warns the user the combination is invalid and returns to the product's configure page
    b) each change in attributes triggers an ajax callback to disable/enable the correct combinations
    c) both of the above.

    In my instance, I tried adding an "invalid combination" to my cart, and the faulty attribute fell back to another option without warning me. Then when I peeked inside my cart, I noticed the attribute wasn't what I had chosen!

Comments

wjaspers’s picture

StatusFileSize
new51.27 KB

Please see the attached combined screenshot for more information.

wjaspers’s picture

Seems to work ok in the 6.x-1.DEV version.

I didn't take into account how slow my test machine can be when I opened this issue report. (I should have looked for XHR/JSON request/responses in Firefox the first time around...)

If no one else can confirm this problem, please "close the issue".

Anonymous’s picture

I have seen this happen as well. Later though I could not replicate it.

I have tried to add some user feedback of an invalid combination. I was trying to print a message of the invalid combination. I couldn't get it to work.

Doomd’s picture

StatusFileSize
new30.35 KB

The same has happened for my cart. I have all the latest modules (as of Nov 17 2010).

In my case, I have two attributes for tshirts:
1. Style Type (Women's Short Sleeve & Men's Short Sleeve)
2. Size: (S, M, L, XL, 2XL)

I don't sell XL or 2XL Women's Short Sleeve shirts.

On the product page, if I select "Women's Short Sleeve" as the Style Type, XL and 2XL are still available options even though I disabled the combo on the product page. The AJAX, as far as I know, should updated the Sizes to only show S, M, & L.

That's not happening.

Doomd’s picture

Priority: Normal » Major

And I updated this issue to "major" since the bug is essentially not performing the function of the module.

cybis’s picture

Have you tried the patch for uc_aac found here? #715878: Not aware of changes made by Dependent Attributes

Doomd’s picture

I tried the patch on post #17 (the "cleaned up" version of #16), and it didn't make a difference :(

cybis’s picture

Dependent attribute doesn't work when 'required' is selected on the product attribute page. Try deselecting it.

replicaobscura’s picture

I can confirm that dependent attributes do in fact work just fine when 'Required' is selected on the product attribute page.

The issue I'm having seems to be that several other attributes depend on the setting of one of my attributes.

For example, the available options of Attribute B and Attribute C are dependent on the selected option for Attribute A.

If the first thing I do after the page finished loading is change attribute A, then attribute B's options get updated, but not Attribute C's.

Then, if I change the options of any other attribute (not just A, B, or C) then Attribute C's available options are fixed.

It almost seems like dependent attributes has some kind of limit for how many updates can be made at a time--I've got about 48 total option combination possibilities, and that doesn't seem like it'd be too many to me.

xl_cheese’s picture

FWIW - I have the same issue. I have required unchecked and I can still see the disabled attribute combinations on the product page. Although, when I try to select them it flips to an attribute that is enabled.

It would be nice if the disabled attribute combinations didn't display to the customer.

avpaderno’s picture

Issue summary: View changes
Priority: Major » Normal
Status: Active » Closed (outdated)
Issue tags: -attribute fallback, -cart errors, -cart warnings, -invalid combination

I am closing this bug report since it has been created for a project version that is now unsupported.
If the bug can be reproduced in a project version compatible with a supported Drupal release, please re-open this issue.

I apologize for bumping this issue.