Zend certified PHP/Magento developer

base price + percentage to be displayedand used for calculating price

a magento store needs to update prices based on csv everyday.

Price given is “base price”, instead of pre-processing said csv to add profit, how can I add certain percentage to price?

Found following file:
storeUri/vendor/magento/module-catalog/Model/Product/Type/price.php

and just added:

public function getPrice($product)
    {
        return $product->getData('price') * $percentage_profit;//multiplies times 1.07 (adds 7%)
    }

it does seem to work, but don’t knwo for sure if it’ll tamper some other functions down the line (for example discounts by volume, coupons, etc)

thanks.