I'm currently building an index for a project at work. I need some assistance with how I get the extended content in the ProductService events (Saved, Created, Deleted etc).
As it is right now, if I try to use TypeProductContentBySku, followed by a TryConvertTo
We solved this for some other projects by using "IContent", but since the products does not have a nodeId associated with them, I cannot use the ContentService to get an IContent based object.
Merchello - get extended content in ProductService events
Hi
I'm currently building an index for a project at work. I need some assistance with how I get the extended content in the ProductService events (Saved, Created, Deleted etc).
As it is right now, if I try to use TypeProductContentBySku, followed by a TryConvertTo
We solved this for some other projects by using "IContent", but since the products does not have a nodeId associated with them, I cannot use the ContentService to get an IContent based object.
Any ideas? :-)
Figured it out.. It's stored in a DetachedDataValues.
product.DetachedContents (list). Each item in the list has a DetachedDataValues, where it's possible to use GetValue("StringKey")
is working on a reply...