Skip to content

Manufacturer and brand

The Manufacturer module lets you assign a manufacturer to each product and shows its name on the product page. It is on by default.

It is not the GPSR module. The details the General Product Safety Regulation asks for (manufacturer and importer address and contact, the EU responsible person, safety warnings and instructions) are entered with the GPSR module.

The module uses the polski_manufacturer taxonomy. Manage the list under Products > Manufacturers and assign a manufacturer in the product edit screen. Variations can carry their own manufacturer.

The manufacturer name is shown:

  • on the single product page, as “Manufacturer: name”,
  • wherever you place the [polski_manufacturer] shortcode or the matching block.

The shortcode takes one optional attribute, product, the product ID. Without it, it uses the current product:

[polski_manufacturer]
[polski_manufacturer product="789"]

The manufacturer taxonomy has no public archive pages.

Brands are a separate module, Brands, off by default. It registers the public polski_brand taxonomy, managed under Products > Brands, with archive pages at /marka/brand-name/.

Settings on the Brands card in Polski > Modules:

Setting Default
Show on product page on
Show on product listings on
Label Brand
Show label on
Brand separator ,
Link to brand archive on

The plugin reads the GTIN from WooCommerce’s own GTIN, UPC, EAN or ISBN field (WooCommerce 8.4 and newer). When that field is empty, it falls back to the _polski_gtin product meta, which the polski_gtin CSV import column writes.

The number is not validated. Check the check digit yourself, for example with the GS1 calculator.

With the Structured Data (Schema.org) module on, the product JSON-LD gets:

  • manufacturer, from the Manufacturer module, or from the GPSR manufacturer name when no manufacturer is assigned and the GPSR module is on (setting Include Manufacturer),
  • brand, from the first assigned brand,
  • gtin8, gtin12, gtin13 or gtin14 by length, otherwise gtin (setting Include barcodes (GTIN)).
{
"@type": "Product",
"gtin13": "5901234123457",
"brand": { "@type": "Brand", "name": "Brand Name" },
"manufacturer": { "@type": "Organization", "name": "Manufacturer Name" }
}

The GTIN and the manufacturer name are also passed to the Google product feed when it has no values of its own.

$terms = get_the_terms($product_id, 'polski_manufacturer');
$manufacturer = is_array($terms) && $terms ? $terms[0]->name : '';
$brands = wp_get_object_terms($product_id, 'polski_brand');
$product = wc_get_product($product_id);
$gtin = $product->get_global_unique_id() ?: $product->get_meta('_polski_gtin', true);

The manufacturer does not display on the product page

Section titled “The manufacturer does not display on the product page”
  1. Check that the Manufacturer module is on in Polski > Modules.
  2. Check that the product has a manufacturer assigned.
  3. Check that the theme runs the woocommerce_single_product_summary hook.

Check that the Brands module is on and the brand is assigned through the polski_brand taxonomy.

This page is for informational purposes only and does not constitute legal advice. Consult a lawyer before implementation. Polski for WooCommerce is open source software (GPLv2) provided without warranty.