Needs work
Project:
Ubercart Option Images
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2011 at 05:25 UTC
Updated:
7 Oct 2011 at 21:29 UTC
Currently when you view a node the image that gets loaded is for the first attribute, even if that attribute doesn't use images.
It would be good if it tried to find an attribute that did have an image for the default option first, then default to the first attribute if there is none.
That is what this patch does. Don't know if it is something others want but it works well for me.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_option_image-default_image.patch | 1.92 KB | agileware |
Comments
Comment #1
cybis commentedThis is a great idea, but the patch doesn't seem to be complete. It creates a function 'uc_option_image_get_default_attribute', but the function is never called.