---
schema_version: "1"
id: 81e4e708fce6c4afc7011f03a11bd1e85f79557b8f50802eb8a223fdd6bdf3d8
title: Enable Inventory Checks on the Product Detail Page
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_flow_pdp_inventory_check.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_flow_pdp_inventory_check.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b886007050e5ee3e77766d00a0837f0f86bff3691c68f468074db8b4f86ee397
description: You can use all Order Management service flows out of the box, and you can also customize a flow and expand its functionality. This customization lets customer service representatives (CSR) see whether a product is in stock from the product detail page. The inventory check helps reduce out-of-stock errors by giving the CSR up-to-date stock information before they add an item to a cart.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# Enable Inventory Checks on the Product Detail Page

You can use all Order Management service flows out of the box, and you can also customize a flow and expand its functionality. This customization lets customer service representatives (CSR) see whether a product is in stock from the product detail page. The inventory check helps reduce out-of-stock errors by giving the CSR up-to-date stock information before they add an item to a cart.

### 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.om_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

If you don’t have an editable version of the flow yet, [copy a flow template](https://help.salesforce.com/s/articleView?id=commerce.om_flow_copy.htm&release=264.0.0&type=5 "Before you can activate or customize a flow, you need to clone the flow. Cloning creates an editable version that you can modify or activate out-of-the-box on your store. If you set up your store using the Commerce Setup Assistant, your flows are already cloned.").

You can enable inventory checks in the even exchange, exchange RMA, and order on behalf of flows.

1. Click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-om_order_management-264-0-0-production-enus/4c4844e3-a194-4a65-95b7-17291a6dbefa/om_order_management/images/om_setup_icon_no_border.png) at the top of the page, and then select **Setup**.
2. In the Quick Find box, enter flows, and select **Flows**.
3. Select the flow that you’re customizing.
4. In the flow, open the Manager tab.
5. Find and select **applyOCI**.
6. Set the default value to {!$GlobalConstant.True}.
7. Find and select **useLocationGroup**.
8. Set the default value to {!$GlobalConstant.True}.
9. Click **Done** and save your flow.

#### See Also

- [Customizing Order Management Service Flows](https://help.salesforce.com/s/articleView?id=commerce.om_flow_customizations.htm&release=264.0.0&type=5 "The Order Management service flows let customer service representatives (CSRs) help customers with their orders. You can use the provided flows as is, and you can also expand and customize them. Here are some common customizations that you can implement.")