• Hi. Can you tell me how I can completely remove the parameter ?yith_wcan=1?

    https://domain.com/product-category/?yith_wcan=1&product_tag=item1+item2

    I want to do the same as it is implemented on your site.

    https://yithemes.com/product-category/plugins/?product_tag=administration+accounting-and-invoicing
Viewing 1 replies (of 1 total)
  • Thread Starter Anatolii Dimov

    (@xpood)

    It’s solved:

    // YITH WooCommerce Ajax Product Filter - URL
    add_filter( 'yith_wcan_query_param', 'yith_wcan_customize_query_param' );
    
    if( ! function_exists( 'yith_wcan_customize_query_param' ) ){
     function yith_wcan_customize_query_param( $param ){
      $param = '';
      return $param;
     }
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Can we remove the URL parameters as it is done on your site?’ is closed to new replies.