Hi,
No, the menu item parameter actually overrides the configuration setting on the listing.
For the next/previous buttons, however, it's indeed based on the setting of the configuration all the time.
You'll have to change the code:
if($this->params->get('show_out_of_stock') != '1'){
$filters[]='b.product_quantity!=0';
}
to:
if(in_array($Itemid,array(XX,YY))){
$filters[]='b.product_quantity!=0';
}
where XX and YY are the ids of the menu items where you don't want to display out of stock products for the next/previous buttons.