Hi,
So you don't want to display products at all ? Or display them only for the last children category ?
If you want to display the products only when in the latest category, so in your menu settings under the "Product options" part you have to change the value for the option "sub element filter" and select" Direct sub elements".
Else to not display products in any cases, you can edit the view "product / listing" and add this code at the top of the view:
<?php
$data = $this->params->get('data',new stdClass());
$moduleData = $this->params->get('hikashopmodule');
if(!isset($data->hk_product) && is_null($moduleData)){
global $Itemid;
if($Itemid == 'XX')
return;
}
?>
And replace "XX" by the id of the desired menu.