Skip to content

Product code, EAN or SHOP_SKU

How to configure product-id and product-id-type so that the Public fits every offer with the correct product in its catalogue, with EAN or SKU.

Applies to v0.46 Updated 4 Nov 2026 2 min read Step 6 of 11
v0.46 · WooCommerce 7.1+ · PHP 7.4+ Support

Public finds out which product in the catalogue belongs to each offer from two fields: product-id (the code) and product-id-type (what kind of code it is.) If they do not match the list, the offer is not recognised.

With SKU of the store#

  1. The Product ID select Shop Sku.
  2. The Product ID - meta write _sku.
  3. Leave it active Auto EAN/SHOP_SKU or turn it off so that the formula is always SHOP_SKU.

With EAN#

  1. The Product ID select EAN.
  2. The Product ID - meta write the meta key where the barcodes are stored, or the attribute with prefix pa_.
  3. With active Auto EAN/SHOP_SKU, the codes 12 or 13 digits are declared EAN and the remaining SHOP_SKU. Thus a product without barcode is not accidentally declared as EAN.

Other options#

  • ISBN: for books, with the meta field of ISBN.
  • Woocommerce Product ID: sends WooCommerce's internal ID. Use it only if you have agreed with Public, and write to Product ID Label The guy who asked you.

Caution#

  • The Product ID - meta must be completed for Shop Sku, EAN and ISBN. If it stays empty, the code goes wrong.
  • Field sku the file sends the product SKU, regardless of product-id.
  • Do not change the password type to an account that works. Public will cease to find existing offers.

After the change, create XML again and check some offers.

Did this article help you?
It's not solved?

Send a request; the plugin and the article are automatically completed.

Request support