Hello,
Step 1 - Please edit "components/com_hikashop/views/category/tmpl/listing.php" and replace
$data = $this->params->get('data');
if(isset($data->hk_product) && is_object($data->hk_product)) {
By
$data = $this->params->get('data');
if(empty($data)) {
$hk_p = $this->params->get('hk_product');
if(!empty($hk_p)) {
$data = new stdClass();
$data->hk_product = $hk_p;
}
}
if(isset($data->hk_product) && (is_object($data->hk_product) || is_array($data->hk_product))) {
Important note : If you do have a template view override for "category / listing", you will have to apply that patch into the override.
www.hikashop.com/support/documentation/1...-display.html#layout
Step 2 - Edit the file "administrator/components/com_hikashop/helpers/module.php" and replace
if(isset($data->$type) && is_object($data->$type)) {
foreach($data->$type as $k => $v) {
$obj->params->set($k,$v);
}
}
By
if(isset($data->$type) && is_object($data->$type)) {
foreach($data->$type as $k => $v) {
$obj->params->set($k,$v);
}
} else {
$data = $obj->params->get('hk_'.$obj->ctrl);
if(!empty($data) && is_array($data)) {
foreach($data as $k => $v) {
$obj->params->set($k,$v);
}
}
}
Step 3 - Edit the file "components/com_hikashop/views/product/view.html.php" and replace
$data = $this->params->get('data',new stdClass());
By
$data = $this->params->get('data', false);
if($data === false) {
$data = new stdClass();
$data->hk_product = $this->params->get('hk_product', false);
if(!empty($data->hk_product))
$data->hk_product = (object)$data->hk_product;
}
Step 4 - Finally edit the file "components/com_hikashop/views/category/view.html.php" and replace
$data = $this->params->get('data',new stdClass());
By
$data = $this->params->get('data', false);
if($data === false) {
$data = new stdClass();
$data->hk_category = $this->params->get('hk_category', false);
if(!empty($data->hk_category))
$data->hk_category = (object)$data->hk_category;
}
And it will fix the issue the Joomla 3.8.9 (and 3.8.10) just introduced.
We will review the code and include it as hotpatch in HikaShop 3.4.0 as soon as possible.
Additional note : The patches have been added into HikaShop 3.4.1 release.
www.hikashop.com/support/documentation/5...ashop-changelog.html
Regards,