Author Topic: Recording Cost for profits  (Read 1913 times)

Offline ashtonm

  • Newbie
  • *
  • Posts: 17
  • Karma: +2/-0
    • View Profile
Recording Cost for profits
« on: November 15, 2018, 04:50:51 PM »
Hi,

I have read that there isn't away to report on profits made.

Is there away to get this through the system or if not here is what is needed as I have other Carts now looking at including it theirs.

1. In 'orders' table - this needs a cost field creating.
2. Create php code in the correct files to record the cost against each product sold at the time of checkout. The price sold and the cost will now be recorded in the 'orders' table.

Thats it. Simple... if you know what you are doing with coding.

A report can be generated through AC or if not, then a simple SQL statement exported to spreadsheet will give your profits.

Can anyone do this as I think it is probably needed by everyone that sells products through the cart.

Thanks.

« Last Edit: November 15, 2018, 05:05:36 PM by ashtonm »

 

Powered by SMFPacks Social Login Mod