Hi,
I don't see the problem in have different product codes and different aliases for each one.
If you don't want the check on the aliases you can remove the code:
if(!empty($product->product_alias)){
$query = 'SELECT product_id FROM '.hikashop_table('product').' WHERE product_alias='.$this->db->Quote($product->product_alias);
$this->db->setQuery($query);
$product_with_same_alias = $this->db->loadResult();
if($product_with_same_alias && (empty($product->product_id) || $product_with_same_alias!=$product->product_id)){
$app->enqueueMessage(JText::_( 'ELEMENT_WITH_SAME_ALIAS_ALREADY_EXISTS' ), 'error');
JRequest::setVar( 'fail', $product );
return false;
}
}
in the file administrator/components/com_hikashop/classes/product.php
However, in that case, you need to have the "remove categories and products ids from URLs" setting of the HikaShop configuration turned off. Because, without the id in the URL, the system can only rely on the alias to distinguish between the products and if several have the same alias, all the links will go the same product.