link product model with existing catalog item

sandeep srivas2
Tera Contributor

1)How to link product model with existing catalog item. 

2)what if we don't have product model w.r.t catalog item. is that need to make custom?

1 REPLY 1

Stewe Lundin
Mega Guru

I depends on the class of the Catalog Item!
As not all of the sc_cat_item classes has the related field to the model classes. 

I usually create the model and from the model create the Cat Item then they are liked automatically, and allso end up in the correct sc_Cat_item class, for hardware models pc_product_cat_item and for software pc_software_cat_item, there are others as well. 

So if you are in the wrong Cat Item class then you are in for a treat. 
I have never tried to move an item, or any record at all, between classes.
I have only recreated them correctly. 
And then you have a connection between model and item.

If they are in the correct classes then its just a question of updating the fields. 

But best is do do it in the correct order. 
Model then Item 🙂