Hi,
I think it will be better to see why the hikashop_currentURL() function does not return the right URL in your case.
If you can't provide us some information and access, we will be able to investigate and propose a fix.
Some web servers have a strange way to populate the global variables so we have an hidden option in order to change the way that the function currentURL manage these variables to determine the real current url.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.