---
schema_version: "1"
id: 013845bef7c0078eed9591af45d7ac9f4618bd08b7e09e9d709c2d5f0a7d9551
title: Stop an A/B Test in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_stopping_an_ab_test.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_stopping_an_ab_test.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b3ebf1a51987298ff7a0f1a2aa569701687cf1a6ce099e4ca5d5d4587b2aca5b
description: Stop a test if it has not produced useful results or if its test segment effects decrease revenue.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Stop an A/B Test in B2C Commerce

Stop a test if it has not produced useful results or if its test segment effects decrease revenue.

A stopped test no longer takes on new participants and excludes past participants that return to the site. However, it collects metrics on active participant sessions until they expire.

Salesforce recommends that you stop an A/B test in both the production instance and in staging so that a subsequent replication does not override it. You can stop a test in staging, but it takes effect only if you replicate the test to production.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note B2C Commerce saves any metrics collected before you stop the test, so you can analyze the data later.

1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Merchant Tools** | **Site** | **Online Marketing** | **A/B Tests**.
2. Select the A/B test, and click **Edit**.
3. Change the end date to today's date or the date when you want the test to stop.
4. Click Save.
    
    The test stops running.

#### See Also

- [Extend an A/B Test in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_extending_an_ab_test.htm&release=264.0.0&type=5 "Extend an A/B test to allow more time to collect results beyond the allotted time period.")