This guide explains how to use the price debugger to test and debug product price calculations by enabling it in the settings, then inspecting the product page to review the applied price rules and calculations.
You can test and debug your price calculation by using the price debugger. This will give you detailed information about how your product price is calculated (incl. test price rules)
Click "Settings"

Click "Calculation"
-jpeg.jpeg?width=688&height=326&name=ascreenshot%20(1)-jpeg.jpeg)
Make sure that you are on Default scope
-jpeg-1.jpeg?width=688&height=326&name=ascreenshot%20(2)-jpeg-1.jpeg)
Click "Default-default (Default)"
-jpeg.jpeg?width=688&height=326&name=ascreenshot%20(3)-jpeg.jpeg)
Scroll down to "Debug" and enable the price debugger.
-jpeg.jpeg?width=688&height=326&name=ascreenshot%20(4)-jpeg.jpeg)
Important! Add one or multiple IP adresses to the allowed ip field. Otherwise everyone can see price debugger on your system.
-jpeg.jpeg?width=688&height=326&name=ascreenshot%20(5)-jpeg.jpeg)
Save the settings.
-jpeg.jpeg?width=1920&height=911&name=ascreenshot%20(6)-jpeg.jpeg)
Switch to the frontend and open the product where you would like to test your prices.
Right-click on the product page and click on "Inspect element".
-jpeg-1.jpeg?width=1920&height=911&name=ascreenshot%20(7)-jpeg-1.jpeg)
-
Now you have to navigate to the "Network" tab in the inspect tool.
-
Set filter to "Fetch/XHR"
-
Make a configuration on the product page
-
Now you will get a file displayed for every configuration you do. Behind this file you can find the information about the price calculation.

Click on the file and switch to the preview tab.
-
Below you can now find a section called "price_debugger". Open this by clicking on the small arrow on the left side
-
Select product price
-
Select your product part
-
Now you can see all rules that are applied to the product part. If you open them you can see the formula, the result and also if the rule is in test or not.
-png.png?width=1484&height=848&name=screenshot%20(1)-png.png)
There will be one file for every new configuration you make so you can compare prices and check if your rules work as expected.