Hide product codes in the storefront

Prev Next

This article is for Salesforce admins, implementation partners, and support teams who need to control whether buyers see product codes in the standard OrderCentral storefront experience.

Use this guide when you want to:

  • hide SKU or product-code references from standard storefront pages
  • simplify buyer-facing product displays when codes are internal only
  • apply product-code visibility per storefront instead of changing product data
  • understand which standard buyer experiences honor the setting and what does not change

When to hide product codes

Hide product codes when buyers should focus on product names, option labels, and pricing instead of internal SKU values.

This is commonly useful when:

  • buyers order by product title, image, or configured option rather than by SKU
  • product codes are internal or operational identifiers
  • support teams want a cleaner product detail and option-selection experience
  • the same catalog is used across multiple storefronts with different buyer expectations

This setting is display-focused. It hides product codes in supported storefront components without changing the underlying product records.

Before you begin

Before you update the storefront, confirm the following:

  • you have access to the OrderCentral Settings tab in Salesforce
  • the storefront you want to update is already registered in OrderCentral settings
  • you know which storefront tab to update if your org has more than one storefront
  • you are ready to validate the change in the buyer storefront after saving

Enable the storefront setting

Use the storefront configuration screen in OrderCentral Settings to turn the feature on for a specific storefront.

  1. Open the OrderCentral app in Salesforce.
  2. Open OrderCentral Settings.
  3. Open the storefront configuration area.
  4. Select the tab for the storefront you want to update.
  5. Select Hide Product Codes.
  6. Click Save.
  7. Wait for the configuration deployment to finish.

Important behavior:

  • The admin-facing label is Hide Product Codes.
  • The current supported configuration field is Hide_Product_Codes2__c on Storefront_Configuration__mdt.
  • The setting is stored per storefront configuration, so repeat the change for each storefront that should hide codes.

Where buyers stop seeing product codes

When Hide Product Codes is enabled, standard OrderCentral storefront components stop showing product codes in these buyer-facing areas:

  • product-list table views where ProductCode would normally appear as a column
  • product detail pages where the selected option code can appear next to the product title or option selection
  • configurable product option selectors, including picklist and radio-style option groups
  • shopping cart and grouped product displays
  • checkout confirmation views
  • order detail views
  • shipment product summaries

For configurable products, option labels continue to work normally. Buyers still see the option name or title, but the code prefix is removed.

What does and does not change

The setting changes storefront presentation only.

What changes:

  • standard supported storefront components stop rendering product codes in the UI
  • option labels are shown without the code prefix where applicable

What does not change:

  • product records and stored product codes remain unchanged in Salesforce
  • ordering behavior does not change
  • option selection and checkout behavior do not change
  • storefront configuration does not change how integrations identify products
  • the setting does not reconfigure search or indexing behavior

If your implementation includes custom components, custom search experiences, or custom integrations that render ProductCode directly, validate those separately. The standard setting only affects components that honor the storefront display setting.

Upgrade guidance

Use Hide Product Codes as the supported setting for current implementations.

Older release history may refer to earlier field names or transitional behavior, including Display_Product_Code__c. For current storefront configuration, rely on Hide Product Codes backed by Hide_Product_Codes2__c.

After an upgrade:

  1. Review each registered storefront configuration.
  2. Confirm Hide Product Codes is set to the intended value.
  3. Re-test product list, product detail, option selection, cart, and checkout flows.
  4. Re-test any custom storefront components that might display product codes outside the standard components.

Verify the change in the storefront

After saving the setting, validate the buyer experience.

  1. Open a product list page and confirm product codes are no longer shown where the storefront would normally display them.
  2. Open a product detail page and confirm the code is hidden for the product detail experience.
  3. Open a configurable product and confirm option labels no longer include the product code prefix.
  4. Add the product to cart and confirm codes stay hidden in the cart summary.
  5. Complete a checkout test and confirm codes remain hidden in confirmation and follow-on order detail views.

Troubleshooting

Product codes are still visible

Check the following:

  • the correct storefront tab was updated in OrderCentral Settings
  • the Save action completed successfully
  • the buyer is using the storefront tied to the updated storefront configuration
  • the visible page uses standard OrderCentral components rather than custom components that render product codes directly

Codes are hidden on some pages but not others

This usually means one of the remaining pages uses a custom component or custom display logic.

Validate whether the page uses the standard OrderCentral product list, product detail, cart, checkout, order detail, or shipment components. Custom components may need their own update to respect the storefront setting.

A support team needs different behavior by storefront

Configure each storefront separately.

The setting is read from the active storefront configuration, so one storefront can hide product codes while another continues to show them.