Hello,
1) We found that something makes injections to theme files even if we upload the original one
http://prntscr.com/ytfsn7 (xstore/functions.php, xstore/framework/woo.php) So, we suppose that your installation is hacked. Contact your hosting provider to fix that. Reply back once you solve the issue with the malware code.
2) Why did you make changes in parent theme files and XStore core plugin files? Don’t change original files because it causes issues and we are not responsible for problems that appear if you customize the parent theme and XStore core plugin. I have created child theme for you. Use it if you need to add any custom functions or change existing functionality!
3) So, move your changes to child theme because we’ll update theme and plugin files and overwrite your changes.
Regards