> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Introduction ## Article: About Discounts ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/discounts/introduction.md ## Article Content: # About Discounts Discounts enable businesses to create promotional strategies through custom discount triggers and configurable discount rules. The discount system allows businesses to define specific conditions under which discounts apply to carts and checkouts, extending beyond standard percentage or fixed-amount discounts with custom trigger logic. This section covers: - **[Custom Discount Triggers Service Plugin](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/discounts/custom-discount-triggers-integration-service-plugin/introduction.md)**: Create custom triggers that define when discounts can apply based on time periods, product categories, or custom business logic. - **[Discount Rules API](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/discounts/discount-rules/introduction.md)**: Manage discount rules that combine triggers and scopes to define the complete conditions for discount application. ## Discount system architecture The discount system operates through two complementary components: + **Discount triggers**: Define the conditions that must be met for a discount to become available. Triggers can be based on time windows (like happy hour pricing), customer attributes, purchase history, external data, or custom business logic. + **Discount rules**: Combine triggers with scopes to create complete discount definitions. Rules specify not only when discounts apply (triggers) but also what items they apply to (scopes) and how they should be calculated. When trigger conditions are met, discounts are automatically applied to qualifying items in carts and checkouts, providing immediate pricing updates to customers during the [purchase flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/purchase-flow/introduction.md). ## Custom discount capabilities The discount extension system supports sophisticated promotional scenarios: + **Time-based discounts**: Create triggers that activate during specific time periods, such as happy hour discounts that only apply between specific hours on certain days of the week. + **Product-specific promotions**: Implement discounts that apply to specific product categories, such as sales on digital products or particular product types. + **Custom trigger logic**: Define business-specific conditions that determine when discounts become available based on your app's custom logic and requirements. ## See also - [About Extensions](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/introduction.md) - [About Purchase Flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/purchase-flow/introduction.md) - [Extend the eCommerce Platform with Service Plugins](https://dev.wix.com/docs/rest/business-solutions/e-commerce/guides/extend-the-e-commerce-platform-with-service-plugins.md)