Externally Calculated Costs
Note: This is only available for WooCommerce stores currently.
If you'd prefer to use costs stored in custom fields / meta for Metorik's costs feature, you can do that by setting the custom fields to use here.
Please note: When you supply an externally calculated order total, we use that total instead of calculating costs from your ordinary product and order cost settings. Total product liability works differently: it replaces the product cost for the matching product, while other costs remain unchanged.
Externally calculated order totals are different from the custom fields settings for shipping/transaction/extra (see here), as with this method,Ā all your costs including product costsĀ are calculated and stored in your WooCommerce store (instead of in Metorik), and then we will sync those costs to our reports.
We'll then look for the custom field cost when storing an order in Metorik.
If a cost exists there, we will use it as the order's cost insteadĀ calculating the cost.
If no cost exists there, we will calculate the cost using the other cost settings you have configured (if any).
We only store the cost from a custom field when storing or updating an order. If you've changed these order costs and want to sync the changes to older orders, contact us and we can re-import all of your orders for you.
WooCommerce COGS Plugin
If you've used the official WooCommerce COGS Plugin and would like to use the costs set there, you can set your custom field costs like so:
Order Total Cost:Ā _wc_cog_order_total_cost
Order Line Item Cost:Ā _wc_cog_item_total_cost
You'll also want to enable automatic product cost syncing, which can be done in the cost tools, so Metorik has product costs on single product pages and product exports.
Other Costs
Optionally, you can also set custom fields to be used for specific order costs, which will then be used in Metorik's Profit Reports.
This can be useful if you are able to split the cost of your orders into product, shipping, transaction, and extra costs.
Simply enter the order custom fields / meta keys where each of these costs are stored. For example below, the shipping cost is stored in the custom_shipping_costĀ custom field.
Total competition costs
If your WooCommerce product has one total prize cost rather than a fixed cost per ticket, we can share that total across successful net ticket quantities and recalculate matching past orders automatically.
Contact [email protected] to have this enabled for your store. Then follow the setup steps in Managing Costs & Profit for Raffle or Competition Stores. This is separate from supplying an externally calculated order total.