Sample promotionMigrationConfig XML file
The promotionMigrationConfig.xml file is used by the promotion migration utility to configure the mappings between default promotion types and their corresponding XSL templates. These templates are used to transform the runtime promotion XML to an intermediate XML containing the data needed to populate the new Feature Pack 4 promotion database tables.This file is located in the WC_installdir/components/component-services/subcomponents/promotion/migration/config directory. The XSL templates are in the WC_installdir/components/component-services/subcomponents/promotion/migration/templates directory. Do not modify the promotionMigrationConfig.xml file.
Sample
The following sample illustrates the default promotionMigrationConfig.xml file:<?xml version="1.0" encoding="UTF-8"?> <PromotionMigrationTemplates> <TemplateMapping> <PromotionType>OrderLevelFreeGift</PromotionType> <Template>OrderLevelFreeGiftTemplate.xsl</Template> </TemplateMapping> <TemplateMapping> <PromotionType>OrderLevelFixedShippingDiscount</PromotionType> <Template>OrderLevelFixedShippingDiscountTemplate.xsl</Template> </TemplateMapping> <TemplateMapping> <PromotionType>CategoryLevelBuyXGetYFree</PromotionType> <Template>CategoryLevelBuyXGetYFreeTemplate.xsl</Template> </TemplateMapping> <TemplateMapping> <PromotionType>CategoryLevelSameItemPercentDiscount</PromotionType> <Template>CategoryLevelSameItemPercentDiscountTemplate.xsl</Template> </TemplateMapping> <TemplateMapping> <PromotionType>ItemLevelBuyXGetYFree</PromotionType> <Template>ItemLevelBuyXGetYFreeTemplate.xsl</Template> </TemplateMapping> <TemplateMapping> <PromotionType>ItemLevelValueDiscount</PromotionType> <Template>ItemLevelValueDiscountTemplate.xsl</Template> </TemplateMapping> </PromotionMigrationTemplates>Related concepts