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.

CommentFileSizeAuthor
#1 cck_errr_1.jpg40.76 KBrestyler
#1 cck_errr_2.jpg163.38 KBrestyler
cck_errr_1.jpg40.76 KBrestyler

Comments

restyler’s picture

StatusFileSize
new163.38 KB
new40.76 KB

screenshots attached

Island Usurper’s picture

Status: Active » Postponed

theme_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.

tr’s picture

Status: Postponed » Closed (won't fix)

This is already done in Ubercart 3.x, so I think this issue no longer has any relevance.