Hi,
You can put your js file in the Joomla media directory.
It is possible to put it in the hikashop javascript directory, "new" files are not affected during updates.
You have to use the "JDocument::addScript" function to add your javascript file (
docs.joomla.org/JDocument/addScript
)
I don't understand your question about the "html message on the add to cart page".
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.