Could somebody advise?
I had issues with inaccurate tax and total values and so applied the kb guidance to correct this issue (see here [URL=“CS-Cart Documentation — CS-Cart 4.16.x documentation”]CS-Cart Documentation — CS-Cart 4.16.x documentation) This was great as is solved the issue :o
Having solved the issue I am now concerned as the two files it affects are core files and will be overwritten at upgrade:
core/fn.common.php
payments/paypal.php
Could anybody advise if it is possible to apply this override in such a way that it does not affect the core files? Can hooks or my_changes be used?
Cheers
Fived
Old Thread, and no answer!
Answer is no, youll need to save backup copies of the files and then use something like win-merge to merge any changes after updating.
My question, as Im trying to solve an PayPal issue is that the KB referred to above, for 2.1.x is incorrect in that there are actually 8 occurrences of “fn_format_price” not the stated 5.
I assume I replace all 8 occurrences, but its not clear.
Also, are any changes needed to the paypal_pro.php and paypal_express.php files?
Cheers