Show All Products Pos

0

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??

Question Resolved For: Stock Manager Advance with Point of Sale Module 0 Votes 4 Answers 899 Views

0

Answered by Mian Saleem 2 years ago

Hello,

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

0

Answered by Mohamed Yhia (‫ضد العلمانية‬‎) 2 years ago

ok but i want to enable scrolling how??

Attachments

0

Answered by Mian Saleem 2 years ago

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 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

0

Answered by Mohamed Yhia (‫ضد العلمانية‬‎) 2 years ago

thank you very much

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.