*

Purple Brain

  • ****
  • 209 posts
Premium on search page
« on: July 05, 2021, 07:53:41 am »
Hello. Is it possible to hide Premium ads on the search page if the user has not selected any category?

Marked as best answer by frosticek on November 04, 2021, 12:50:56 pm
*

MB Themes

Re: Premium on search page
« Reply #1 on: July 06, 2021, 07:52:00 am »
@atba
Yes, if you wrap premiums block into:
Code: [Select]
<?php if(isset(osc_search_category_id()[0]) && osc_search_category_id()[0] > 0) { ?>

... premiums block ...
<?php } ?>

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Purple Brain

  • ****
  • 209 posts
Re: Premium on search page
« Reply #2 on: November 04, 2021, 12:56:05 am »
Great