• Resolved failwinston

    (@failwinston)


    Hi, Since (I think) the latest update, The Brand shortcode [product_brand_thumbnails] has stopped working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @failwinston ,

    Thanks so much for reaching out!

    I tested the issue on my end, and it looks like the product brand shortcode[product_brand_thumbnails] isn’t working as expected with the current WooCommerce version 9.9.4. However, when I rolled the plugin back to version 9.9.3 using the WP Rollback plugin, things worked correctly again.

    In this case, you might consider temporarily downgrading to 9.9.3 while we look into it further. I’ll go ahead and open a GitHub issue to report this, so our developers can take a closer look and provide more insight.

    I’ll keep an eye on the report and follow up with you once there’s an update to share.

    Thanks again for your patience and understanding—we really appreciate it!

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @failwinston

    After WooCommerce 9.9.3, the product_brand_thumbnails shortcode double-filters the terms when show_empty="false" is set. Both get_terms() and remove_terms_with_empty_products() try to exclude empty brands, and together they end up excluding everything.

    Here is a code snippet that fixes it by preventing that second round of filtering when it’s not needed. It restores the shortcode’s behavior from 9.9.3 and earlier.

    Let me know if this helps, and we’ll keep watching for updates on the core fix.

    • This reply was modified 11 months ago by Shameem - a11n. Reason: explained and shared correct snippet link
    Thread Starter failwinston

    (@failwinston)

    Hi Shameem,

    Thank you, I can confirm the snippet works on a test site. Looking forward to the core fix..

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @failwinston

    That’s great to hear, thanks for confirming. Really appreciate you testing it out.

    If you’ve got a minute, feel free to drop a quick review or feedback; it helps us keep improving and know what’s working to ensure we’re always providing the best possible support.

    Thanks again!

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

The topic ‘Brands shortcode not working’ is closed to new replies.