Hi. The place holder image appears in node view when option_image is installed, and when the product has an attribute, even when that attribute is not set to use option_image (which can be set in attribute configuration).

I tried placing an image named noimage.png in sites/all/themes/bluemarine/images/ but it did not change this.

Attaching a screen-cap. The attribute 'size' is set to not use option_image.

Any ideas. Thanks.

CommentFileSizeAuthor
#2 config.png35.93 KBAlaska
#2 images.png111.37 KBAlaska
#2 select_box.png16.59 KBAlaska
Picture 3.png148.04 KBoldmanpants

Comments

tjholowaychuk’s picture

Status: Active » Postponed

My intention of the module was to use uc_option_image as the 'only' image for the product nodes. To be honest I did not really even think about having products that use other image modules as on the site we developed this module for each product primarily has a 'style' or 'color' attribute attached to each product which is then the default image.

I could implement a simple scan to see if any attributes are even in use, then if not simply do not display the placeholder image as you mentioned. This may be a while though I am extremely busy lately :(

Alaska’s picture

Title: Place holder image appearing, even when not set to use option_image » All images the same for each option
Status: Postponed » Active
StatusFileSize
new16.59 KB
new111.37 KB
new35.93 KB

Trying your module on localhost with Drupal 5.7 and Uber 1065.

Uploaded 3 different images. One for each option. When submitted and displayed, all the images are the same. Select box will not fade between the three images.

Here are three screen shots to make sure that the correct buttons are selected.

Will upgrade the site this evening to the latest Bazaar - 1075 or so.

Thanks,

Jim

Alaska’s picture

Upgraded to Uber 1075. Still the same image issue.

Did notice that fade was not working.

The issue is that there are two places to make a "select box" selection. One at node/3/edit/attributes and the other at admin/store/products/attributes/add or /5/edit.

Edit/attributes does not override products/attributes/add. Seems that there should only be one place to make this selection of radio buttons or select box. Or the last made change will override both. Made sure that both were at "select box" and the fade now works.

However, there is still the issue of all the images being the same. If there are 5 options, then by selection one image, all five change.

It will also be nice when radio button can be used as a future enhancement.

Jim

tjholowaychuk’s picture

Like I mentioned it was intended to switch a single product image, not display multiples which switch independently, although this may be a feature in the future.

Another user has submitted a patch for radio support which I have not had time to review/patch yet.

Alaska’s picture

The need on this end is to have the module show a green car, a red car and a blue car all under the attribute of Car Colors as options. That, of course would be ideal. But now I know that the module will not operate for my needs and it is not an installation or use issue.

Thanks for the answer.

Jim

tjholowaychuk’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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