*

rooman

  • ****
  • 231 posts
I have a custom field for ads
« on: July 09, 2022, 03:10:11 PM »
Hello
I have a custom field for ads
Inside there is a number
Is it possible to fetch ads in ascending order according to this custom field?
This code is to get ads

Code: [Select]
osc_query_item(array("category_name" => "106", 'results_per_page' => 500
Thanks

*

MB Themes

Re: I have a custom field for ads
« Reply #1 on: July 11, 2022, 10:47:32 AM »
@rooman
No, you whould have to use Search model in order to have such options.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

rooman

  • ****
  • 231 posts
Re: I have a custom field for ads
« Reply #2 on: July 11, 2022, 12:50:50 PM »
@rooman
No, you whould have to use Search model in order to have such options.

I want it inside a custom page
Other than the search page

*

MB Themes

Re: I have a custom field for ads
« Reply #3 on: July 11, 2022, 02:16:06 PM »
"Search model" is something different to "Search page"
Check oc-includes/osclass/model/Search.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots