Hi,
Sorry, it is:
if($vendor_chroot_category == 2) {
if(!empty($vendor->vendor_params->vendor_root_category))
return (int)$vendor->vendor_params->vendor_root_category;
return (int)$config->get('vendor_root_category', 0);
}
You can edit the product coming from an HikaShop product page (or product listing). At this moment, when you save, it is more logical to redirect the user to the page where he came from.
I will add some rules (depending on where you are coming from) and see if some options would be required to specify the redirection parameters.
In order to be redirected to the HikaMarket product listing where you are coming from it, you can add the indicated line in the view "components/com_hikamarket/views/productmarket/view.html.php"
$cancel_action = JRequest::getCmd('cancel_action', '');
$this->assignRef('cancel_action', $cancel_action); // Add this line
if(!empty($cancel_action)) {
Regards,