Support » Plugin: YITH WooCommerce Ajax Product Filter » Does not work with Woocommerce 3.x.x!

  • I have been using this for a long time without any problems at all but since the latest woocommerce update it cannot apply filters to any of my variations.

    • This topic was modified 1 year, 1 month ago by  manos06.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,

    I’m sorry for this issue.
    Before give us a 1 star review you can open a ticket here and we can try to solve your issue.

    If you wnat, please explain us how we can replicate the issue and we plain a test for this.

    I look forward to hearing back from you

    Have a nice day
    YITH

    tarasamelin

    (@tarasamelin)

    wocommerce 3.x.x
    I have the same problem.
    Widgets are not displayed in the sidebar after applying the filter.
    ———————–
    I tryed update at local server. maybe it will help.
    New version:
    poyas.loc/katalog?product_cat=remni-v-dzhinsy&source_id=11&source_tax=product_cat&filter_dlinna=110-115

    Old version, where all works:
    https://poyas.com.ua/katalog/razdel/remni-v-dzhinsy?filter_dlinna=110-115

    Plugin Author YITHEMES

    (@yithemes)

    Hi @tarasamelin,

    are you sure you use only one sidebar for all WooCommerce pages ?
    Please, check it and let me know.

    YITH

    tarasamelin

    (@tarasamelin)

    Yes, I have two. I create in function.php

    //----------------------------------------------------------------------------------
    // ------------------------- remove sidebar from single product --------------------
    //----------------------------------------------------------------------------------
    
    add_action( 'get_header', 'remove_storefront_sidebar' );
    function remove_storefront_sidebar() {
      if ( is_product() || is_single() || is_page() || !is_product_category()) {
        remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10);
        add_action( 'storefront_sidebar', 'storefront_add_new_sidebar');
      }
    }
    
    //----------------------------------------------------------------------------------
    // ------------------------- new_custome_sidebar
    //----------------------------------------------------------------------------------
    
    function register_new_sidebar(){
    
    register_sidebar(array(
        'name' => 'Дополнительный Сайдбар',
        'id' => 'new_custome_sidebar',
        'description' => 'Дополнительный Сайдбар вместо основного',
        'before_title' => '<h3><span>',
        'after_title' => '</span></h3>',
        'before_widget' => '<div class="new-sidebar1">',
        'after_widget' => '</div>'
      )
    );
    }
    add_action( 'init', 'register_new_sidebar' );
    
    function storefront_add_new_sidebar() {
        ?>
        <div id="secondary" class="widget-area" role="complementary">
       <?php dynamic_sidebar('new_custome_sidebar'); ?>   
        </div>
        <?php
    }    
    tarasamelin

    (@tarasamelin)

    without updates all works
    OLD Version:
    https://poyas.com.ua/katalog/razdel/remni-v-dzhinsy?filter_dlinna=90-100

    Its looks like some changes in GET requests

    Plugin Author YITHEMES

    (@yithemes)

    Hi @tarasamelin,

    please, can you explain me how I can replicate the issue in my local environment ?
    Thanks

    Have a nice day
    YITH

    tarasamelin

    (@tarasamelin)

    I use storefront child theme. In default sidebar yith filter in second category list.
    Second sidebar(storefront_add_new_sidebar) in function.php

    
    
    //----------------------------------------------------------------------------------
    // ------------------------- remove sidebar from single product --------------------
    //----------------------------------------------------------------------------------
    
    add_action( 'get_header', 'remove_storefront_sidebar' );
    function remove_storefront_sidebar() {
      if ( is_product() || is_single() || is_page() || !is_product_category()) {
        remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10);
        add_action( 'storefront_sidebar', 'storefront_add_new_sidebar');
      }
    }
    
    //----------------------------------------------------------------------------------
    // ------------------------- new_custome_sidebar
    //----------------------------------------------------------------------------------
    
    function register_new_sidebar(){
    
    register_sidebar(array(
        'name' => 'Дополнительный Сайдбар',
        'id' => 'new_custome_sidebar',
        'description' => 'Дополнительный Сайдбар вместо основного',
        'before_title' => '<h3><span>',
        'after_title' => '</span></h3>',
        'before_widget' => '<div class="new-sidebar1">',
        'after_widget' => '</div>'
      )
    );
    }
    add_action( 'init', 'register_new_sidebar' );
    
    function storefront_add_new_sidebar() {
        ?>
        <div id="secondary" class="widget-area" role="complementary">
       <?php dynamic_sidebar('new_custome_sidebar'); ?>   
        </div>
        <?php
    }    
    
    
    tarasamelin

    (@tarasamelin)

    switch sidebars by if ( is_product() || is_single() || is_page() || !is_product_category())

    Plugin Author YITHEMES

    (@yithemes)

    Hi @tarasamelin

    I send our reporting to our developers but, please, open a ticket for this because this is a review and it’s not the correct place to talk about this issue.

    Thanks for understanding.
    Have a nice day
    YITH

    tarasamelin

    (@tarasamelin)

    Now all works I change
    is_product() || is_single() || is_page() || !is_product_category()
    to
    !is_product_taxonomy())
    ———————–
    But now filtest dosent works with “page builder site origen”.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Does not work with Woocommerce 3.x.x!’ is closed to new replies.