Subscribe


Tags

  • Commerce Server Documentation (0),
  • Architectural and Design (0),
  • Marketing System (0),
  • Orders System (0),
  • Catalog System (0),
  • CS2007 BizTalk Adapters (0),
  • Partner SDK (0),
  • Commerce Server Operations (0),
  • Profile System (0),
  • Migration (0),
  • Commerce Server Staging (0),
  • DWA and Reporting (0),
  • Deployment (0),

March 2010 (2)
February 2010 (9)
July 2010 (8)
August 2010 (8)
June 2010 (1)

Posted Date Published 7/23/2009 12:45:22 PM

Got Marketing!

When the first request is made to a Commerce Server site Commerce Server loads it's modules and populate it's caches based on the configuration of web.config. One of these modules and Cache that can be modified is the Marketing data.

Marketing Runtime

Commerce Server loads it's Marketing data (Ads and discounts) in one shot by calling mktg_spRuntimeLoadDiscounts stored procedure. You can change this behavior by having your own stored procedure called. Why would you want to do that maybe  you want additional columns to be returned or have a staging environment and you want all discounts that are active and not active to be evaluated. Just make sure that you not omit any columns and records that the original stored procedure returns.

Change the default behavior of loading Marketing data

Modify the web.config by adding a <config> element to the <cache>: <key="LoadDiscountsProcedure" value="myProcedure"/> Note that myprocedure should have the same signature as the default mktg_spRuntimeLoadDiscounts procedure.

by Max Akbar | Comments



Comments disabled.