Hi,
The problem is that when HikaShop/Joomla generates a product page URL, it uses the current menu item to get its alias, etc.
In the backend, when you process a mass action, or when it is triggered automatically, that information is not available.
And it's not possible for HikaShop/Joomla to guess which menu item you want to use for each product so even if it would pick one automatically or ask you to choose one, you might end up with different URLs than what you want if you have several menu items for your shop.
That's why the best way to do that if you want to is to have a canonical URL in your products (HikaShop can generate it automatically with the "Force canonical URLs on listings" setting of the HikaShop configuration), and to use such code :
if($data=='product' && $table == 'product_canonical')
$element = 'http://www.xxx.ch/'.$element;
like explained in
www.hikashop.com/forum/import-export-csv...v-export.html#249814
to get the URL of each product in your massaction CSV.