Hello,
What you say if we propose for you so variant: if some category not have cars in it will show not "0"- will show nothing.
You need go to {yours host}/components/com_vehiclemanager
find file vehiclemanager.php, do it backup
in it through whole file please find code:
Code: |
if($cat_item1->id === $cat_item2->id ){
$cat_item1->vehicles = $cat_item2->vehicles;
}
|
and change it to:
Code: |
if($cat_item1->id === $cat_item2->id ){
$cat_item1->vehicles = $cat_item2->vehicles;
if($cat_item1->vehicles ===0 ) $cat_item1->vehicles = "";
}
|