Question: How Do I Add Custom Fields To Search

How Do I Add Custom Fields To Search

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 m

AA

alfonso arroyo

Asked
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??
  • MS

    Mian Saleem

    Answered
    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
  • AA

    alfonso arroyo

    Answered
    Great, thats it. Thank you.
  • Login to Reply