Skip to main content

Metafields

Metafields are custom fields used in Shopify. Hipli uses them to know the compatibility of a product with its package.

How Hipli metafields work

The defined value corresponds to the quantities of a product that can fit in a Hipli package. There is two specials values:

  • -1, this value means that there is no limit on the quantity of product that can fit in a Hipli package.
  • 0, this value means that it is not possible to send this product in a Hipli package.

The product metafield has priority over all others.

Hipli Collection Metafields

Collection metafields are used if no product metafields are defined. If a product belongs to multiple collections, the most restrictive setting will be applied.

Example

A product has no product metafields, but it belongs to two collections. The first collection has a Hipli metafield with a value of 5, the second collection has a Hipli metafield with a value of 10. The final value of the Hipli metafield for this product will be 5.

More examples

ProductCollection 1Collection 2Final Value
35103
315-13
30-13
Vide5-15
Vide050 (not compatible)
VideVideVide-1 (no limite)

Metafields Configuration

To define Hipli metafields, you need to go to the product or collections section Shopify Menu

Shopify Menu

And either select a product or go to the collections section and select a collection.

Shopify Product

Once on the product or collection page, go to the metafields section (at the bottom of the page).

If there are no Hipli metafields, click on the Show all button.

Product Metafield

Once the Hipli metafields are visible, simply fill in the Hipli field.

All Metafields

It is possible to define a Hipli metafield for a product, and a Hipli metafield for a collection. In this case, the Hipli metafield of the product will take precedence.

To avoid always having to press the Show all button, it is possible to pin a metafield. To do this, click on the button:

Definition Button

Finally, click on the pin so that the Hipli field is always visible.

Pinned

Once the metafield is pinned, it will be visible on all products, this step will need to be repeated for collections.