• Resolved abeldb

    (@abeldb)


    Hello titodevera,

    First at all, your plugin is AWESOME!
    Really great and powefull, right!

    I found that with pwb-carousel shortcode, param “hide_empty” doesn’t works:
    value true: show only brands with products
    value false: idem

    Can you help me to solve it?


    In other hand, it would be great to add the random parameter in carousel, hope you can add it in next updates.

    Thanks in advance!
    Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same problem. This issue is the same from the past version.

    Please Fix it in a new update. I hope soon

    Thread Starter abeldb

    (@abeldb)

    Hello!

    Please, can you tell me something about it?

    Thanks in advance

    Yeah its not work for carousel shortcode. Try it:
    /wp-content/plugins/perfect-woocommerce-brands/classes/shortcodes/class-pwb-carousel.php
    line 54
    $brands_array = \Perfect_Woocommerce_Brands\Perfect_Woocommerce_Brands::get_brands( self::$atts['items'] );
    replaced by

    $hide_empty = (self::$atts['hide_empty'] != 'true') ? false : true;
     $brands_array = \Perfect_Woocommerce_Brands\Perfect_Woocommerce_Brands::get_brands( $hide_empty, self::$atts['items'] );
    • This reply was modified 4 years, 2 months ago by diias.
    Plugin Author beluserra

    (@beluserra)

    Hi @abeldb
    we took the ownership of this plugin a couple of month ago, after some updates we are retrieving users errors. Is your issue still there?
    regards

    Thread Starter abeldb

    (@abeldb)

    Hello Beluserra,

    Yes, with “Perfect WooCommerce Brands” Version 1.8.4
    param “hide_empty” doesn’t works:
    value true: show only brands with products
    value false: show only brands with products, too.

    Diias solution (see before), seems doesn’t works for me. ??


    It would be great to add the random parameter in carousel,
    I hope you can add it in next updates.

    Thanks in advance!
    Best regards.

    head84

    (@head84)

    Hi there,

    The problem is still there. I’m using the latest version (1.8.5). Dilas solution is working for me, but a stable solution will be much appreciated.

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘pwb-carousel > hide_empty – fail’ is closed to new replies.