London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
This area is subject to change, and will be reworked. Refer to Marketing [BETA] for mor information.
This document provides an overview of the steps to create a volume discount promotion. This particular discount will only have one custom variable called "MinOrderAmount", which will be used to qualify or disqualify the discount.
The implementation consists of the following steps:
Classes referred to here are available in the following namespaces:
Refer also to Promotions and Custom Promotion Development for related information.
The result of this step will be an XML document used by the back-end to create the actual discount record.
The XML Rule Set should consist of these rules:
The result of this step will be a screen that will allow the store administrator to create new Volume Type discount.
1. Create a new "OrderVolumeDiscount.config" file under "Apps\Marketing\Promotions\Configs" directory. Specify the following parameters:
2. Create new file "Apps\Marketing\Promotions\OrderVolumeDiscount\ConfigControl.ascx". You can use the other discount "PairedPromotion" as a template.
The UI should include two fields:
3. Modify the Settings class to include MinOrderAmount and remove unused properties.
4. Test the administration user interface.
The result of this step will be a set of unit tests that validate that the promotion engine and specific discount works correctly.
Last updated: Oct 21, 2014