storefront icon indicating copy to clipboard operation
storefront copied to clipboard

Brands section on the Storefront Homepage template

Open OmarFPG opened this issue 11 months ago • 3 comments

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:

  1. Install Storefront
  2. Set up a home page using the "Homepage" template
  3. Install WooCommerce 9.6 or above

Screenshots

Image

Image

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/

OmarFPG avatar Jan 23 '25 18:01 OmarFPG

First reported on 9302789-zen

wyter avatar Jan 24 '25 12:01 wyter

good one we can add more thing in that

yashhhYB avatar Feb 10 '25 13:02 yashhhYB

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.

sophiegyo avatar May 12 '25 06:05 sophiegyo