Brands section on the Storefront Homepage template
Describe the bug
With the inclusion of Brands in WooCommerce core, the "Homepage" template from the Storefront theme now includes a Brand section at the bottom by default; this shows up even if it's empty.
This is currently showing up even if it's empty.
Isolating the problem (mark completed items with an [x]):
- [x] I have deactivated other plugins and themes and confirmed this bug occurs when only WooCommerce + Storefront theme are active.
- [x] I can reproduce this bug consistently using the steps below.
To Reproduce
Steps to reproduce the behavior:
- Install Storefront
- Set up a home page using the "Homepage" template
- Install WooCommerce 9.6 or above
Screenshots
Expected behavior
The Brands section shouldn't appear if no Brands have been published in the store yet (similar to how the other sections work!). A small suggestion on top of it: an option on the customizer could be included to enable this section at will
Workaround
A small CSS snippet to hide this section can work meanwhile:
section.storefront-product-section.storefront-woocommerce-brands {
display: none;
}
WordPress Environment
Tested on a clean site with JN: https://substantial-cat.jurassic.ninja/
First reported on 9302789-zen
good one we can add more thing in that
Another report in: 9728844-zen Merchant also expressed frustration that this just happened when Brands were integrated into WC core.
I could have sworn I previously handled a similar ticket as well, but I don't have the reference to hand.