View Single Post
  #21  
Old 04-06-2016, 11:56 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: X-Cart 4.7.5 released: Amazon Feeds, Gross Profit, Convenient search tools

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.
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote