Oliver Brown
|
June 19, 2015 at 12:26 am
Greetings good folk of EE:
Upon registration for an EE event, the IS integration plugin checks for existing products that match the event and, if it finds none, creates a new product. This is working great. I’m looking for a way to add the new product to an existing category and subcategory of products in Infusionsoft.
I’ve looked at the IS Developer documentation and found the table schema and it seems what I’m looking for is the information in the ProductCategory and ProductCategoryAssign tables.
I’ve tried adding these into the IS integration plugin’s $event_product_data array (around line 182) but haven’t successfully passed those values when creating a new product.
I suspect that instead I’d need to use something like the solution suggested here: Sending Custom Parameters Upon Creation of a New Product in Infusionsoft. But I’m not sure where to incorporate this hook, and how much of the tables outlined above would need to be populated in order for the product to be properly created.
Any suggestions would be greatly appreciated.
Many thanks,
Oliver
|