quafzi/magento-profit-in-order-grid

Profit calculation not working

Opened this issue · 3 comments

Hi,

The extension almost works. It adds a new column "Profit", but the value it gives is the product price exlcl. VAT. Do you know what I can change in order to get the real profit value?

Thanks,
Lasse

Did you make sure that your "cost" attribute is populated?

Hi Quafzi,
Thanks for your quick response!

I'm not sure what you mean by populated. Is that an attribute setting in the admin, or something I need to add in code?

What I mean: Magento comes with an attribute "cost" and this extension relies on that attribute to be filled in for every product.