Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently at admin/store/settings/products/edit, if no image widgets are installed TWO radio button choices are shown:
- No image widgets installed.
- Don't use any image widgets.
Only the first should be shown in the case of no widgets installed. The second choice should be shown ONLY when some widgets are available.
The original patch to uc_product.admin.inc posted in http://drupal.org/node/393508#comment-1325324 did this properly, but that patch seems to have been modified before it was applied, since uc_product.admin.inc doesn't currently contain the correct code.
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
uc_product.admin_.inc_.patch | 541 bytes | TR | |
Comments
Comment #1
Island Usurper CreditAttribution: Island Usurper commentedEh, OK. I think earlier I had thought that it might be a good idea to let people say they don't want image widgets to work on product images, even if they install one of those modules later. I guess it's not going to happen that often, so I committed this change.