Custom Order Costs For WooCommerce
What Does This Feature Do?
This feature allows you to add additional custom order costs to your WooCommerce orders.
A common example of this amongst our customers is to add a commission field, for example.
This feature should only be used for order level costs, if you need to create custom product costs, you can do so by reading this how-to doc for custom product costs.
These additional costs are used in your total profit calculations as part of Alpha Insights.
How Does This Feature Work?
You can setup as many custom order costs as you’d like from the General Settings page in Alpha Insights.
This setting will allow you to configure as many custom order costs as you’d like, with default values for the cost based on the order revenue or a static number.
You can also use a PHP filter to automate this process for more complicated default calculations.
Setting Up Your Custom Order Costs
1. Go To General Settings In Alpha Insights
To add a new custom order cost, you simply need to go to Alpha Insights > General Settings and scroll down to the table called Custom Order & Product Costs.
Name: The label that will be used for the custom cost within your reporting areas.
% Of Order Revenue: The default cost as a percent of your Order Revenue. For example, if you set this to 3, it will be 3% of your order revenue (in addition to the static fee).
Static Fee: A flat value for each order, for this custom order cost which is combined with the % of order revenue.
The % of order revenue & static fee are combined to give you the default value for your custom order cost. So if you set 3% and $10, the default cost will be 3% of your order revenue + $10.
These are just default values, you can set both values to 0 if you would like to assign the cost manually for every single order.
You can also set one of the values to 0 if you choose.