After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Price Priority Logic

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.

In the example below, how does the system determine if we should publish $31.99, $24.99, or $27.99?

To determine which price will be used if a product is on two websites and has a varying price per website, we use price priority logic (determined by the Sort Order value).

To view your stores’ sort order, go to Stores > All Stores in the Admin sidebar. In the Web Site column, click the website name. The Web Site Information page shows the Sort Order setting for the website, which determines the priority of the website. A value of 1 indicates the highest priority.

If the product price is set to Use Default, it will fall back to the default price value instead of the website price value.

Example 1

  Website Priority Price (Website) Use Default
Default 0 $31.99
Store 1 1 $24.99 No
Store 2 2 $27.99 Yes
  • The Magento Price Source (defined in your [Listing Price](/merchdocs-archive/user-guide/v2.3/sales-channels/asc/listing-price.html is set to the Price attribute.
  • Look at the website with the highest website priority, which is Store 1 (defined by the Sort Order value).
  • Since Store 1 is set to use the website price (Use Default = No), the published price will be $24.99.

Example 2

  Website Priority Price [Website] Use Default
Default 0 $31.99
Store 1 1 $24.99 Yes
Store 2 2 $27.99 No
  • The Magento Price Source (defined in your [Listing Price](/merchdocs-archive/user-guide/v2.3/sales-channels/asc/listing-price.html is set to the Price attribute.
  • Look at the website with the highest website priority, which is Store 1 (defined by the Sort Order value).
  • Since Store 1 is not set to use the website price (Use Default = Yes), look at the next website in the sort order.
  • Since Store 2 is set to use the website price (Use Default = No), the published price will be $27.99.

Example 3

  Website Priority Price [Website] Use Default
Default 0 $31.99 $30.00
Store 1 1 $24.99
Store 2 2 $27.99 $20.00

In this example we have added in the non-price value, which is used if you select another value for the Magento Price Source (defined in your Listing Price settings). The non-price value will always use price as the fallback price.

  • The Magento Price Source (defined in your Listing Price settings) is set to Non-Price.
  • Look at the website with the highest website priority, which is Store 1(defined by the Sort Order value).
  • Since Store 1 is not set to use the Non-Price attribute, look at the next website in the sort order.
  • Since Store 2 is set to use the Non-Price attribute (Non-Price [Website] = $20.00), the published price will be $20.00.