|
||
Customization of the behavior of the CMS application or its specific module according to your exact requirements is described in detail in the Custom providers chapter in the API programming and Kentico CMS internals section of the Developer's Guide.
As this type of customization is also available for the E-commerce solution, you can override the default behavior and calculations by using custom providers that ensure various operations.
The Kentico CMS installation includes examples of E-commerce customization. To access these samples:
1. Open your installation directory (by default C:\Program Files\KenticoCMS\<version>).
2. Expand the CodeSamples\App_Code Samples\ sub-directory.
3. Copy the E-commerce samples folder into the App_Code\CMSModules\Ecommerce\ folder of your web project.
|
Web application installations
If your Kentico CMS project was installed in the web application format, copy the examples into the Old_App_Code folder instead.
You must also manually include the sample class files into the project:
1. Open your CMS application in Visual Studio. 2. Click Show all files at the top of the Solution Explorer. 3. Navigate to Old_App_Code\CMSModules\Ecommerce, right-click the new E‑commerce samples folder and select Include in Project.
|
Now you can view the code of the sample customized providers and try out their functionality. To apply the customizations to your application, you must uncomment the appropriate lines in the SampleECommerceModule.cs loader class.