Hi,

Originally Posted by
rebelIT
This seems to imply some that custom product types aren't supported out of the box?
I have currently 5 custom product types and more may yet be added
will I need to add code for CEON to support these?
Yes, you'd have to add custom for each custom product type the store uses.
There was no simple way to write the software to cope with product types that it knows nothing about, certainly without adding lots of SQL lookups.
If you're handy with PHP you should be able to modify all the module's files to add support for your custom product types.. it'll probably take up to an hour in all I'd imagine but would be simple enough.
You'd just search the module's files for PRODUCT_INFO and update the various sections of the various files that use the product type defines.
As an example, in class.CeonURIMappingAdminProductPages.php there's code:
PHP Code:
$selections = array(
'main_page' => array(
FILENAME_DOCUMENT_GENERAL_INFO,
FILENAME_DOCUMENT_PRODUCT_INFO,
FILENAME_PRODUCT_INFO,
FILENAME_PRODUCT_BOOK_INFO,
FILENAME_PRODUCT_FREE_SHIPPING_INFO,
FILENAME_PRODUCT_MUSIC_INFO
),
'associated_db_id' => (int) $product_id
);
Obviously adding in support for other types in this code block is easy.. just add the filename define(s) to the array.
The code in all the other places which would need to be modified is similarly simple.
As this is custom coding I'm afraid I won't discuss it here further.. the above is the last I will post about this other than to wish you luck in getting it sorted.
All the best...
Conor
ceon
Bookmarks