Element g:mpn#

Basic information#

The g:mpn element (Manufacturer Part Number) contains the manufacturer part number. It is a unique identifier for a specific product among all products from the same manufacturer. The value in g:mpn must be unique within the feed. The maximum code length in g:mpn is 70 characters.

Elements related to g:mpn that can also be used in the feed:

  • g:gtin — numeric product code (e.g. EAN)
  • g:brand — product brand or manufacturer
  • g:identifier_exists — used when no unique product identifier is available in g:gtin, g:mpn, or g:brand

Frequently asked questions#

  • Is the g:mpn code required for products?
    • Yes, when the product does not have a unique identifier assigned in g:gtin (e.g. UPC code, EAN, ISBN).
    • If the product has no unique identifier at all (e.g. it is a custom item), g:mpn is not required and is optional only.
  • How do I populate the g:mpn element with a value from another element?
    • Use the Bulk copy values rule to copy the value from another element — for example, from PRODUCTNO to g:mpn.
    • You can also use the Rewrite rule to save the value of another element (a variable) into g:mpn, for example: %PRODUCTNO%.
  • What if I manufacture products myself and have no unique identifier?
    • If you have no g:gtin (EAN), no g:mpn, and no brand (g:brand), you must use the g:identifier_exists element and set it to false or no.
  • Can I hide products with a missing g:mpn in Mergado?
    • Yes. Create a query to find such products and apply the Hide product rule to it.

What Mergado Audit checks for the g:mpn element#

  • Whether g:mpn is missing or empty for any products, in relation to the g:gtin and g:identifier_exists elements.
  • Whether g:mpn codes are unique and no duplicate values (i.e. the same g:mpn code for multiple products) appear in the feed.
  • Whether the g:mpn element has the correct length — maximum 70 characters.

If you need help, contact our technical support.

Was this article helpful?