Skip to content

EAN, EAN prefix and EAN codes

How you show the plugin where EANs are, how EAN Prefix works, how you remove it, and what product codes are sent to Shopflix.

Applies to v2.2.0 Updated 5 Nov 2026 2 min read Step 9 of 14
v2.2.0 · WooCommerce 7.1+ · PHP 7.4+ Buy Support

EAN#

  1. Find out where barcodes are stored: in a WooCommerce field, in another plugin field (e.g. an XML feed for Skroutz or ACF) or in the SKU.
  2. In Tab Overrides, field Custom Meta Field for AN (Custom Meta field for EAN), write the exact meta key. If the barcodes are in the SKU, write _sku.
    The ‘Custom Meta field for EAN’ field in the Overrides tab highlighted and supplemented with the barcodes meta key
    The field "Custom Meta field for EAN" (here with the barcodes meta key).
  3. Press Save and test out products that have barcode.
  4. Check that the ean In XML is barcode.

In a variant without its own EAN the EAN of the parent is used. The field accepts meta key, not attribute.

EAN Prefix#

The EAN Prefix (cardet) Advanced) enters in front of each code no is a 13-digit number so that your internal codes stand out from real EAN. The default value is the name of your domain with a dash. The normal 13-digit EAN stays as it is.

The ‘EAN Prefix’ field in the Advanced highlighted tab
The "EAN Prefix" field.
  • If you don't want a prefix, clear the field, press Save and re-produce feed.
  • If you change the prefix since Shopflix already has the products, let Shopflix know why their password changes.
  • In the newer versions the prefix is not added a second time to a code that already has it.

Other codes#

  • id: the ID of the product or variant in WooCommerce, unless specified Custom Meta field for Product ID.
  • sku: WooCommerce's SKU. A variant without SKU's own takes the parental SKU.

Do not change the way ids or EANs come out after the connection. Shopflix will see the products as new.

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

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

Request support