Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mavdiablo

    (@mavdiablo)

    Thankyou very much Titodevera!

    Thread Starter mavdiablo

    (@mavdiablo)

    Hi There,
    I would like to report another problem. I wanted to filter the products by brand even in the product tag pages. I did this:
    File perfect-woocommerce-brands/classes/class-perfect-woocommerce-brands.php
    line 190 I added
    if( is_product_category() || is_post_type_archive( ‘product’ ) || is_product_tag() )
    File perfect-woocommerce-brands/classes/widgets/class-pwb-filter-by-brand.php
    line 68 and 93 I added
    if( is_product_category() || is_shop() || is_product_tag() ){
    line 155 I transform
    $cat_id_array = get_term_children( $cat_id, $cat->taxonomy );
    and line 158 I transform
    ‘taxonomy’ => $cat->taxonomy,

    Hope it helps.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)