Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark Arndt Lønquist 20 posts 88 karma points
    Jul 01, 2016 @ 08:15
    Mark Arndt Lønquist
    0

    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? :-)

  • Mark Arndt Lønquist 20 posts 88 karma points
    Jul 01, 2016 @ 08:32
    Mark Arndt Lønquist
    1

    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")

Please Sign in or register to post replies

Write your reply to:

Draft