Custom Sitecore Commerce promotions plugin project with extended functionality for the Business Tools.
- Supported Sitecore Experience Commerce Versions
- Features
- Enabling Features
- Installation Instructions
- Known Issues
- Disclaimer
- XC 10.0
Updates the promotion's Details entity view to include time to Valid To and Valid From properties as promotions can change at any time throughout the day. The Created date time has also been added to the details entity view as promotion prioritisation uses the Created date time as a fall back to settle tie-breakers.
Enablement Policy Property: RenderDateTimes
Sellable Item entity view.
In the environment configuration files, add the PromotionsFeatureEnablementPolicy and set the desired features to true
. (See the Enablement Policy Property value under each feature). For example:
{
"$type": "Ajsuth.Foundation.Promotions.Engine.Policies.PromotionsFeatureEnablementPolicy, Ajsuth.Foundation.Promotions.Engine",
"RenderDateTimes": true
}
- Download the repository.
- Add the Ajsuth.Foundation.Promotions.Engine.csproj to the Sitecore Commerce Engine solution.
- In the Sitecore Commerce Engine project, add a reference to the Ajsuth.Foundation.Promotions.Engine project.
- Enable desired features, following Enabling Features.
- Run the Sitecore Commerce Engine from Visual Studio or deploy the solution and run from IIS.
- Run the Bootstrap command on the Sitecore Commerce Engine.
- Restart all Commerce Engine instances.
Feature | Description | Issue |
---|---|---|
The code provided in this repository is sample code only. It is not intended for production usage and not endorsed by Sitecore. Both Sitecore and the code author do not take responsibility for any issues caused as a result of using this code. No guarantee or warranty is provided and code must be used at own risk.