ucd.module checks only for node->type == 'product', but ubercart supports custom node types as well, so better to use uc_product_is_product to check if this particular type is a product
in ucd_nodeapi: if (uc_product_is_product (array('type' => $node->type)))
in ucd_ds_fields: if(uc_product_is_product (array('type' => $type_name)))
Comments
Comment #1
swentel commentednice one, we'll commit that this afternoon
Comment #2
swentel commentedhmm, I guess we also need to check for the fields available than too or not ? Those are probably cck fields then ?
Comment #3
swentel commentedCommitted to CVS, see http://drupal.org/cvs?commit=322020
Comment #5
d.sibaud commentedThe same thing for ucd_content_build_modes, if the node is a custom product, it will always be excluded from the "Products in catalog grid view" by this check at line 16 of ucd_content_build_modes:
Comment #6
d.sibaud commentedPArdon, changed to active
Comment #7
swentel commentedI've removed that exclude matrix code, people can decide for themselves now :)
Comment #8
swentel commented