How Do I Add Custom Fields To Search

0

I already did once, but didn't remember where I did the change. Updated SMA and forgot where I did the change. I want to add cf1, cf2 and cf3 to my global search bar. Could you please help me with this??

Question Resolved For: Stock Manager Advance with All Modules 0 Votes 2 Answers 410 Views
Asked by alfonso arroyo 1 year ago

0

Answered by Mian Saleem

Hello,

I am not sure which global search bar. I am guessing that the search at top bar in shop module. If so, you can modify the getProducts method of app/models/shop/Shop_model.php You would looking for line if (!empty($filters['query'])) {

Thank you

0

Answered by alfonso arroyo 1 year ago

Great, thats it. Thank you.

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.