Need a PHP function that adds a % amount to price received through an API.
My site lists products received by XML API. The products already have prices when received. I need a function in PHP, that adds a certain % to those prices.
You must also provide the documentation to the code for me to be able to change the %