Hi,
We already have a patch for the next version.
Please edit the file "administrator/components/com_hikashop/views/product/view.html.php" and replace
}
if(empty($product_id) && empty($product->categories)) {
By
} else {
$product->product_quantity = -1;
$product->product_published = 1;
$categoryClass = hikashop_get('class.category');
$mainTaxCategory = 'tax';
$categoryClass->getMainElement($mainTaxCategory);
$query = 'SELECT category_id FROM '. hikashop_table('category'). ' WHERE category_type = ' . $db->Quote('tax') . ' AND category_parent_id = '.(int)$mainTaxCategory.' ORDER BY category_ordering DESC';
$db->setQuery($query);
$product->product_tax_id = $db->loadResult();
}
if(empty($product_id) && empty($product->categories)) {
And it will force some elements during the product creation.
Regards,