*

daniel222

  • ***
  • 36 posts
Premium Search
« on: August 22, 2016, 05:47:07 PM »
Good day

     there is some way of placing in the module of search, alone 10 announcements premium and that these are random.


Thank you

*

MB Themes

Re: Premium Search
« Reply #1 on: August 23, 2016, 10:24:52 AM »
@daniel222
You can do it if "list" view in search is selected.
To enable premiums here, go to file:
oc-content/themes/zara/search_list.php

Find:
Code: [Select]
1==2
Replace with:
Code: [Select]
1==1
Find:
Code: [Select]
osc_get_premiums(4)
Replace with:
Code: [Select]
osc_get_premiums(10)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

daniel222

  • ***
  • 36 posts
Re: Premium Search
« Reply #2 on: August 24, 2016, 03:42:52 PM »
Good day I am doing the change of 1 == 1 and exit duplicate the announcements, additional to it I want that it shows alone 5 announcements, and instead of it it shows all.

Also I want that they remain static , always this one to the beginning and do not go down when another free advertisement is published.

Thank you
« Last Edit: August 24, 2016, 03:51:13 PM by daniel222 »

*

MB Themes

Re: Premium Search
« Reply #3 on: August 24, 2016, 05:00:17 PM »
@daniel222
Sorry, do not understand what you really want.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

san37

  • ***
  • 89 posts
Re: Premium Search
« Reply #4 on: August 25, 2016, 05:07:31 PM »