Mا
in pos page
When I do a search for a specific product name in product and barcode field, how can I show all the products that contain this name and not just show the first 5 results?
Like a system, "" shows all products that contain the searched word
Can i do that??
When I do a search for a specific product name in product and barcode field, how can I show all the products that contain this name and not just show the first 5 results?
Like a system, "" shows all products that contain the searched word
Can i do that??
Attachments
- MSAnsweredHello,
The default limit is 5. You can change the limit by editing the `getProductNames` method of `app/models/admin/Sales_model.php` to change the limit.
Thank you - Mا
Mohamed Yhia (ضد العلمانية)
Answeredok but i want to enable scrolling how??Attachments - MSAnsweredHello,
You can modify the item code as you need. Please be informed that we don't offer support for modifications or modified versions. You are allowed to do it at your own risk.
You can set the `max-height` and `overflow-y` for the `.ui-autocomplete.ui-menu` some like below
```
<style>
.ui-autocomplete.ui-menu {
max-height: 300px;
overflow-y: auto;
}
</style>
```
in the POS view file `themes/default/admin/views/pos/add.php`
Thank you - Mا
Mohamed Yhia (ضد العلمانية)
Answeredthank you very much - Login to Reply