Skip to content

Vendor Store Header

The addon replaces the default WC Vendors store header with a themed header on single vendor pages. The same header can optionally appear at the top of single product pages.

  • Single vendor pages: the header renders at the top of every vendor store page. This is always on.
  • Single product pages: the header renders at the top of a product page only when Show Vendor Header is enabled in the customizer (Single Product section). It shows only for products that belong to a vendor. This setting is off by default.

The addon removes the WC Vendors default headers and, on vendor and dashboard pages, removes the theme sidebars so the header owns the top of the page.

The header pulls its data from the vendor’s WC Vendors store fields. Each element can be hidden from the customizer (see Customizer settings) and some also respect the WC Vendors store branding options.

  • Banner: the store banner image, or the WC Vendors default banner.
  • Store icon: the vendor store icon, falling back to the vendor avatar.
  • Store name: linked to the store page when shown on a product page.
  • Verified and trusted badges: shown when the vendor is marked verified or trusted. Requires WC Vendors Pro.
  • Rating: the vendor star rating with a link to reviews. Requires WC Vendors Pro and its ratings feature.
  • Description: the store description.
  • Website: the store company URL, when set.
  • Phone: shown as a click-to-call tel: link.
  • Address: shown as a link that opens the address in Google Maps.
  • Social: store social icons (Twitter, Instagram, Facebook, LinkedIn, YouTube, Pinterest, Snapchat, Telegram). Requires WC Vendors Pro, which ships the icon sprite.
  • Total sales: the vendor sales count. With WC Vendors Pro it uses the Pro total-sales display; without Pro it uses a built-in count of completed, processing, and on-hold orders that contain the vendor’s products.

When a store description is long it is trimmed and a Read More button reveals the rest. The button is keyboard reachable and its label is translatable.

Individual elements also honor the WC Vendors “hide” branding options. For example, if WC Vendors is set to hide the store phone, the header hides the phone even when the customizer contact switch is on. This keeps the header consistent with the marketplace-level settings.

The header is rendered from templates/wc-vendors/store/store-header.php. You can override it from your theme. See Template overrides.