I'm trying to exclude the product image from rendering on the full node view. But the image field is rendered by theme_uc_product_image() that doesn't respect "exclude" checkbox at all. I think it's a bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | cck_errr_1.jpg | 40.76 KB | restyler |
| #1 | cck_errr_2.jpg | 163.38 KB | restyler |
Comments
Comment #1
restyler commentedscreenshots attached
Comment #2
Island Usurper commentedtheme_uc_product_image() doesn't use CCK's theming settings at all. You can disable the image field on the product field settings page (admin/store/settings/product/edit/fields), or set Ubercart to use no image fields this way on the product's content type settings page (admin/content/node-type/product). However, doing either of these will prevent images from showing up in the catalog as well.
Several people have successfully used Views to create catalog pages, so this is not as big a problem as it seems.
In Ubercart 3.x, we're planning on integrating more tightly with CCK and then the Fields API in Drupal 7. By that time, all of the product information should be have like any other CCK field.
Comment #3
tr commentedThis is already done in Ubercart 3.x, so I think this issue no longer has any relevance.