Hello,
Sorry for this but I have made a mistake, really sorry for this, I analyze deeper the solution let's restart from scratch, follow me step by step :
- First don't use category/Listing view but rather the product/Listing
- Go around line 270, find this code :
} elseif(( !$this->module || hikaInput::get()->getVar('hikashop_front_end_main',0) ) && ($ctrl == 'product' || $ctrl == 'category') && $task == 'listing' && !empty($this->filters) && is_array($this->filters) && count($this->filters) && !empty($this->filter_set)) {
Code view :
The part underlined in red is the one that must be deleted.
- Remove the part after the "
...|| $ctrl == 'category') && $task == 'listing' ", to have this :
} elseif(( !$this->module || hikaInput::get()->getVar('hikashop_front_end_main',0) ) && ($ctrl == 'product' || $ctrl == 'category') && $task == 'listing') {
This solution is a little tricky but must better fit your needs, and will display automatically a message thanks to this code :
echo '<div class="hk-well hika_no_products"><i class="fa fa-search"></i> ' . JText::_('HIKASHOP_NO_RESULT') . '</div>';
Hope this will fit your needs.
Regards