Hello,
In the view "productmarket / variant" you can replace the line
var section = document.getElementById('hikashop_product_variant_edition');
By
var section = document.getElementById('hikamarket_product_variant_edition_<?php echo $this->product->product_id; ?>');
if(!section) return;
And it should fix the issue from that patch coming from HikaShop and merged in a rush.
For the SQL error in your HikaMarket view ; it would be nice to activate temporally the Joomla debug mode (or apply a special patch in the Joomla core) in order to get the full SQL Query and/or the call stack.
And it would be extremely useful to know more about what characteristic your product have ; since you got issues in both HikaShop and HikaMarket for that product.
Please note that regarding the HikaShop issue ; you have to post in the HikaShop section of the forum.
Regards,