Hi,
The thread is useful, thank you. The way I solve my problem is that:
Create a "Custom field" in Hikashop > Display > Custom fields with the table "Product" with the column name "unit_of_measurement";
The unit_of_measurement custom field can now be edited in the product configuration page of each product.
Then in Hikashop > Display > Views, edit the view: "product / listing_price.php" in the good template.
Find the below code at about line 162
else{
echo '<span class="hikashop_product_price_per_unit">'.JText::_('PER_UNIT').'</span>';
}
and replace it with
else if($this->element->unit_of_measurement==null){
echo '<span class="hikashop_product_price_per_unit">'.JText::_('PER_UNIT').'</span>';
}
else{
echo '<span class="hikashop_product_price_per_unit">'.$this->element->unit_of_measurement.'</span>';
}