Price Priority Logic
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.