Closed (fixed)
Project:
Ubercart
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jan 2009 at 16:39 UTC
Updated:
6 Feb 2009 at 14:50 UTC
Jump to comment: Most recent file
When creating and editing a product kit, the select box never shows up for which catalog entry(s) you want it assigned to.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | catalog_kit.patch | 702 bytes | Island Usurper |
Comments
Comment #1
rszrama commentedComment #2
Island Usurper commentedIs the Product Kit type selected in the Catalog's Taxonomy settings?
Hmm. I guess the module doesn't add its node type to the Catalog when it's enabled. The Catalog picks up all of the available node types when it's enabled, though. My guess is you enabled Product Kits some time after Catalog.
Ooh, maybe there's a hook_node_type().
Comment #3
jtbayly commentedI see. You are right. I was able to fix it in the Catalog's Taxonomy settings.
I believe you are right. I probably activated Product Kits after Catalog. So, this is probably pretty rare, but still problematic, because it is not at all self-evident what to do to fix the problem. (I am, I admit, new to Ubercart and Drupal, but I would expect you have to be *very* familiar with how things work to figure this out on your own.)
I hope there is a hook_node_type() so that it can be fixed.
Thanks so much for the help.
-Joseph
Comment #4
Island Usurper commentedWell, there is a hook_node_type(), but it doesn't do quite what I wanted. It's really only used for custom node types, not those added by modules. So I've added a hack to the product kit module to add itself to the catalog if it can.