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??
- MSAnswered
Hello,
The default limit is 5. You can change the limit by editing the
getProductNames
method ofapp/models/admin/Sales_model.php
to change the limit.Thank you
- Mا
Mohamed Yhia (ضد العلمانية)
Answeredok but i want to enable scrolling how??
Attachments - MSAnswered
Hello,
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
andoverflow-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