Hello,
I'm sorry but I don't understand what you're talking about.
Please provide full and clear context ; version number and on what you're "previous code" was based ?
Don't forget that we have no idea what is going on in you website without a link or a screenshot.
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.