Develop > Presentation layer > Customize promotions > Promotions customization: Management Center


Revert order-level free gift promotions to pre-Version-7 behavior

If you are migrating promotions to Management Center Version 7 and you do not want migrated order-level free gift promotions to use the v7 choice of free gift option, you can disable this option for the site. As a result, migrated order-level free gift promotions will work as they did before migration.

The features of pre-Version-7 of order-level free gift promotions are:


Procedure

  1. Navigate to the WC_EAR/xml/config/com.ibm.commerce.promotion-ext/template directory.

  2. Open the OrderFreeGiftBehaviourControl.xsl file in an editor.

  3. Locate the following line of code:

    <xsl:variable name="preventRemovalOfFreeGiftFromCart">false</xsl:variable>
    

  4. Change the value false to true.

  5. Save the changes.

  6. Deploy your changes to the production server.


+

Search Tips   |   Advanced Search