First off.. GREAT contribution.
This function should be a "standard" in OSC though.
Thx for the PHP5 fix, it really helped me when we moved servers.
I have 1 problem though.
When i add products via the "Ajax Order Editor" with the Ajax Search.
I takes a weird cost price. It adds 0,02 - 0,03% to costprice.
(Etc. "GP Thunder H1 - 8500K - 100W 225" costs 225,- DKK, but the contribution sets the price to 230,- DKK)
The weird thing is, that i cannot find anywhere the contrib calculates a price, which means it has to be a conflict with the org. OSC?
Any ideas anybody?