---
schema_version: "1"
id: eec4c3d0e86eca2f0f6406c88d178ec34ea0dc573145ccaa2f50c819e8d78b06
title: Replace a Default Commerce Process with an Apex Class
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_extensions.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_extensions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 79e13c9b027d1caec16df6f1e18ab196ffffeabb4f4d928e57e253969ba6c142
description: Use extension points to enhance or replace default Salesforce Commerce processing with Apex classes. For example, by default Salesforce Commerce uses standard Salesforce price books to determine how products are priced. If you want to use a different pricing method, you can use an Apex class for pricing instead.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Replace a Default Commerce Process with an Apex Class

Use extension points to enhance or replace default Salesforce Commerce processing with Apex classes. For example, by default Salesforce Commerce uses standard Salesforce price books to determine how products are priced. If you want to use a different pricing method, you can use an Apex class for pricing instead.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

1. In the navigation sidebar, select a store from the **Store** dropdown.
2. Select **Settings** | **Store**.
3. Click the **Extensions** tab.
4. On the tile that lists the extension point, click **Select Provider**.
5. Select the Apex class for the extension point.
6. Click **Next** and then confirm your selection.
7. To change or remove the provider, use the dropdown menu on the extension tile.