logo

Palette - Make it Colorful🎨

Palette - Visual Page Builder, no design degree required.

Live Demo Download Palette

Scroll

Bug when switching the attribute with an image D7+Ubercart

22/02/2025, by Anonymous (not verified)

The module https://drupal.org/project/uc_option_image

 

has been installed. A Beta version has only been released for version 7.

 

The problem is as follows: there are several attributes for the product - packaging. Each packaging has a separate photo and a separate price. When I switch to the desired packaging, the price changes, but the image disappears.

 

I searched through forums and looked into it myself - there is a JS script written for this module that displays and shows those images. However, in the D7 core, there is built-in Ajax that changes the price. It turns out that when the function to update the price is triggered, the functions from the uc_option_image module are no longer called.

 

I don't know what to do accordingly =)