The tracking of cost of goods was introduced in WooCommerce 9.x. as an experimental feature, and became part of the core in WooCommerce 10.0. The Currency Switcher supports the cost of goods since version 5.2.10.250625. This article explains how the integration works, and what aspects of the cost of goods features it supports.


TABLE OF CONTENTS


1. How the Cost of Goods integration works

As of July 2025, the support for the cost of goods covers the following:


1. Converting the cost of goods for orders and order items from the shop's base currency to the order currency

Out of the box, WooCommerce only stores against orders the cost of goods in the shop's base currency. The Currency Switcher adds a second value, with the costs converted to the order currency. This allows make a more accurate calculation of the actual revenue.


2. Converting the cost of goods for existing orders
The Currency Switcher automatically scans the existing orders and converts the cost of goods stored against them. This is done once, then each order is processed as it's created.


3. Display of the cost of goods, in both the order's currency and the shop's currency, on the Edit Order page
This feature displays the costs of goods in two currencies in the locations where WooCommerce allows it to do so. Currently, on the Edit Order page two amounts can only be displayed next to each item (see screenshot below):


2. Known limitations

1. Incorrect display of the order's cost total in the Edit Order page

In the Edit Order page, the cost total, in the order summary, only shows one value, which is formatted incorrectly by WooCommerce:

The cost is in the shop's base currency (in this example, 10 EUR), but WooCommerce formats it using the order's currency, showing "US$10.00". 


As of July 2025, this cannot be changed, because the display logic is hard-coded in WooCommerce, and doesn't allow to change the formatting, nor to append other elements to the output. We reported the error to the WooCommerce developers (issue #59565), proposing a simple solution (one line of code) that would allow the Currency Switcher to show the correct amounts. Unfortunately, on the 10th of July 2025 a WooCommerce developer closed the change request a few hours after we opened it, apparently due to having misunderstood its purpose. The developer also proposed a solution that doesn't apply, therefore we requested a review and a reopen, as our change request is essential to allow us to correct the displayed amount. 


2. Incorrect display of the item's refunded cost in the Edit Order page

In the Edit Order page, the refunded cost for each item only shows one value, which is formatted incorrectly by WooCommerce:

The cost is in the shop's base currency (in this example, 10 EUR), but WooCommerce formats it using the order's currency, showing "US$10.00". 


As of July 2025, this cannot be changed, because the display logic is hard-coded in WooCommerce, and doesn't allow to change the formatting, nor to append other elements to the output. We reported the error to the WooCommerce developers (issue #59566), proposing a simple solution (one line of code) that would allow the Currency Switcher to show the correct amounts. A WooCommerce developer is currently looking into it.


3. Do you have questions or need assistance?

If you have any questions on how to use Currency Switcher, please feel free to contact us, and we will get back to you as soon as possible. You can also consult our knowledge base, to find the answers to the most common questions.


You can purchase the Currency Switcher from our online shop.