Advertisement:

Author Topic: Premium ad listing don't take into account price and custom fields?  (Read 91 times)

Delirar

  • Newbie
  • *
  • Posts: 1
 I would like the Premium Listings to show only if they correspond to the search filters.  How could we code or change it so that Premium Listings will only show if they are within the range of the price/custom fields?

Explanation:  On search page, the premium ads show regardless of the price and other custom field filters. For example (see attached image), the pice filter is set to between $260-$1600. 

On the search list, there are two sections: Premiums Listings (that show up at the top) and then the Regular Listings (that show below the Premium Listings).

The listings section will only show ads within that price range and custom fields, which is good!.  However the "Premium Listings" will show ads without taking into account the price or any other of the custom filters and therefore will show the Premium Ad regardless of what is inputted in the search filters. 

How can we do this?

Thanks in advance to everyone for your help!  :)
« Last Edit: July 14, 2019, 03:29:53 pm by Delirar »