When you tick "Update product display based on customer selections" in store/product (which resolved a previous ajax update issue that was fixed by the module "Ajax Attribute Calculations" for Drupal 6 and patched for 7), the product option images against attributes no longer function correctly. (Module http://drupal.org/project/uc_option_image) Only a screen refresh will bring the images back. The initial option image displays correctly when you go to the page. But when you select a differant attribute the first image attempts to display itself then in a flash is gone. Future selections do not see any images. Option Images is currently unsupported so i'm running out of options. All help greatly appreciated.

Comments

longwave’s picture

Category: bug » support
Status: Active » Fixed

This will need to be solved in uc_option_image, this is most likely a bug in that module and not Ubercart. I don't use that module so I am not sure what the fix would be, I'm afraid. An issue for this already exists at #1926630: Ubercart Option Images Conflict with Ajax-ify attribute option price selection

UK_Rogue’s picture

Longwave,

yeah, I thought I'd try to move it here as the image option is no longer supported. Are you easily able to identify the changes that were made on the last Ubercart update that affected ajax? If not don't worry, i'll compare the code.

longwave’s picture

UC Option Image appears to use custom JavaScript to add the images to the page, this is not really compatible with Drupal's core Ajax, though it may be possible to modify the custom JS so this works again.

Status: Fixed » Closed (fixed)

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