Quote:
Originally Posted by herber@wirehub.nl
What are the condintions for the field to be shown like in the screenshot?
I have added costs prices for all items in 1 order for example, then searched for that order & it still does not show, while both products in that order have costs entered.
|
Could you check again ?
1)add cost price for a product
2)buy the product
3)place the order
4)process the order
5)check the gross profit field on the search order page.
The condition is simple. The module is active and the $gross_costs_total is not empty.
Code:
{if $active_modules.Cost_Pricing and $gross_costs_total}
{include file="modules/Cost_Pricing/admin_orders_list.tpl" gross_profit=$total-$gross_costs_total}
{/if}
Thank you.