Support » Plugin: Related Products for WooCommerce » Title appears when np matching tags with exclude

  • When there are tags for the product but they’re in the ‘exclude’ list, the ‘related products’ container is still output so we get a title with no content.

    Can be fixed by adding the following: if(empty($product_based_id))return false;
    just after $product_based_id = array_diff( $product_based_id, $exclude );

Viewing 1 replies (of 1 total)
  • Plugin Author Vagelis

    (@eboxnet)

    Hello there, thanks for taking the time to let me know.
    I am aware of the issue and a fix has been applied and it will be released with the next version of the plugin.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Title appears when np matching tags with exclude’ is closed to new replies.