Disable category pop-up on home page
« on: July 10, 2017, 10:52:16 AM »
Hi. Please help me to turn off this preview.. Thanks a lot
« Last Edit: July 10, 2017, 10:56:33 AM by frosticek »

*

MB Themes

Re: Disable category pop-up on home page
« Reply #1 on: July 10, 2017, 10:57:20 AM »
Go to file:
oc-content/themes/zara/inc.category.php

Find code:
Code: [Select]
                  <?php if(osc_is_home_page()) { ?>href="#ct<?php echo osc_category_id(); ?>"<?php } else { ?>href="<?php echo osc_search_url($search_params); ?>"<?php ?>
                  <?php if(osc_is_home_page()) { ?>class="open-home-cat"<?php ?>
                  <?php if(osc_is_home_page()) { ?>title="<?php _e('Show subcategories of''zara'); ?> <?php echo osc_category_name(); ?>"<?php ?>

Replace with:
Code: [Select]
href="<?php echo osc_search_url($search_params); ?>"
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Disable category pop-up on home page
« Reply #2 on: July 10, 2017, 11:05:54 AM »
Thanks very much