Hello,
I'm testing various solutions but I don't think that it would be a small fix.
I removed the loading of variants in the query because you can have packs for the main and the variants so I didn't want duplicate. But if you have a variant then the name might be not present, so you need to load parent data, etc.
At the end, I'm thinking to add extra query just for variants and special stuff to already have all necessary data for display. It might be the best in order to support the different use cases.
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.