Hi i need function formula for this kind.
I have product that have his own price. I need functuion to calculate how much precent i can give discount on product that he still dont go under purchase price. I have store with 1000 products and i know Price and purchase price. Only need function to calculate maximoum discount. Thnak you very much SAVE ME