> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> 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`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - 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 Extensions

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/introduction.md

## Article Content:

# About Extensions

Extensions enhance the Wix eCommerce platform with custom business logic, external service integrations, and specialized functionality that extends beyond standard eCommerce features. Through service plugins and APIs, extensions enable businesses to inject custom calculations, validations, and processing logic into critical eCommerce flows like cart management, checkout processing, and order fulfillment.

This section covers:

- **[Additional Fees](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/additional-fees/additional-fees-service-plugin/introduction.md)**: Add custom fees and charges to carts and checkouts based on business-specific logic and calculations.
- **[Discounts](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/discounts/introduction.md)**: Create custom discount triggers and manage discount rules that define when and how discounts apply to purchase flows.
- **[Shipping Rates](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/shipping-rates/shipping-rates-integration-service-plugin/introduction.md)**: Integrate custom shipping rate calculations and external shipping providers for dynamic pricing and delivery options.
- **[Tax](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/tax/introduction.md)**: Implement custom tax calculations, tax group management, and integration with external tax services for compliance and accuracy.
- **[Validations](https://dev.wix.com/docs/rest/business-solutions/e-commerce/extensions/validations/validations-integration-service-plugin/introduction.md)**: Apply custom validation logic to carts and checkouts to enforce business rules, compliance requirements, or data quality standards.

## Extension integration approaches

Extensions integrate with the eCommerce platform through different mechanisms:

+ **Service plugins**: Backend extensions that receive calls from Wix during cart and checkout processing to perform calculations, validations, or external service integrations. These plugins execute custom logic at key points in the purchase flow.

+ **API-based extensions**: Direct API integrations that allow external systems to create, modify, and manage extension configurations like discount rules, tax groups, and validation criteria.

## Extension processing flow

Extensions are called at various points in the eCommerce flow:

+ **Cart updates**: When items are added, removed, or modified in carts, relevant extensions calculate fees, validate changes, and apply business rules.

+ **Checkout processing**: During checkout, extensions recalculate totals, apply discounts, determine shipping rates, calculate taxes, and perform final validations before order creation.

+ **Real-time updates**: Extensions provide immediate feedback to customers, updating pricing, availability, and validation messages as they interact with carts and checkouts.

+ **External synchronization**: Service plugins can integrate with external systems to retrieve real-time data, perform complex calculations, or maintain consistency with business systems.

## See also

- [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)
- [About Purchase Flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/purchase-flow/introduction.md)
- [Architecture and Data Flow](https://dev.wix.com/docs/rest/business-solutions/e-commerce/architecture-data-flow.md)