You are here

function uc_catalog_uc_product_class in Ubercart 7.3

Implements hook_uc_product_class().

Adds product node types to the catalog vocabulary as they are created.

File

uc_catalog/uc_catalog.module, line 408
Ubercart Catalog module.

Code

function uc_catalog_uc_product_class($type, $op) {
  if ($op == 'insert') {
    uc_catalog_add_node_type($type);
  }
}