Hi,
Thanks for the report.
Due to the inclusion of some "nameboxes" in the HikaMarket interface, some elements changed.
The previous zone selector was using the "zone_id" while HikaShop is always using the "zone_namekey" to define a zone.
So, HikaMarket have to convert the zone_id into a zone_namekey in the backend interface.
In the vendor class (administrator/components/com_hikamarket/classes/vendor.php) you have to add this code
if(!empty($vendor->vendor_zone_id)) {
$zoneClass = hikamarket::get('shop.class.zone');
$zone = $zoneClass->get($vendor->vendor_zone_id);
$vendor->vendor_zone_id = $zone->zone_id;
}
Just after
$vendor->vendor_terms = JRequest::getVar('vendor_terms', '', '', 'string', JREQUEST_ALLOWRAW);
And in the vendor view file (administrator/components/com_hikamarket/views/vendormarket/view.html.php), you have to add this code
if(!empty($vendor->vendor_zone_id)) {
$query = 'SELECT zone_namekey FROM ' . hikamarket::table('shop.zone') . ' WHERE zone_id = ' . (int)$vendor->vendor_zone_id;
$db->setQuery($query);
$vendor->vendor_zone_namekey = $db->loadResult();
}
After this line
$vendor->vendor_group = implode(',', $vendor_group);
And it should fix the vendor zone attribution issue.
(The modifications will be in the next HikaMarket release).
Regards,