November Happy Hour will be moved to Thursday December 5th.

Product Update Hook

Vote:
 

Is it possible to setup a hook that will get control when product is being updated?

I mean something like global hook that can handle:

  - product update in CMS

  - product update in Commerce Manager

  - product update via API

 

Is Mediachase.Commerce.Catalog.EventContext suitable for ?

How cna I handle update event and update some "calculated" fields in product?

#84523
Apr 02, 2014 19:20
Vote:
 

The recommended way in EPiServer 7.5 is to use the IContent model for all work with the catalog and hock up the DataFactory events.

The old commerce logger still works for commerce manager defined in ecf.catalog .config (replace CatalogLogger with your own)

<Catalog autoConfigure="true">

  <Events>

    <add type="Mediachase.Commerce.Catalog.Loggers.CatalogLogger, Mediachase.Commerce" />

 

#84915
Apr 09, 2014 11:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.