Skip to content
  • There are no suggestions because the search field is empty.

How To Use Metafields For Product Dimensions

Map product dimension metafields to Intuitive Shipping for dimension-based rate calculations.

If you're on Shopify, Intuitive Shipping supports metafields for product dimensions. Metafields for dimensions lets you manage product dimensions right in your eCommerce platform product settings so you don't need to add them to your Intuitive Shipping product settings for features that require dimensions, such as the SmartBoxing packing algorithm.

KB Technical Support NewMetafields for dimensions must be added in your Shopify settings before mapping can be completed. Mapping must also be enabled for Shopify metafield dimensions to be used in rate calculations.

KB Knowledge

Watch a walk-through video tutorial of metafields for dimensions here.

 

How It Works

Product dimensions are required if you’re using:

  • Volume-based or dimensional-based conditions in Scenarios

  • Volume-based packing algorithms, including SmartBoxing

  • Simple packing algorithms, such as weight-based, where dimensions are used to prevent certain products from being packed into specific boxes due to size

If you’re using Shopify and any of these apply to your setup, you previously needed to add product dimensions directly in Intuitive Shipping to ensure rates could be calculated correctly.

Now, you can sync product dimensions from your Shopify product settings using metafields, allowing Intuitive Shipping to use those values in rate calculations.

Please note: if you’re using BigCommerce, metafield mapping is not available or required. Intuitive Shipping already syncs product dimensions directly from your BigCommerce product settings when they are provided.

To use metafield dimensions with Intuitive Shipping, you’ll first need to set up the metafields in Shopify, map them in Intuitive Shipping, and add dimension values for length, width, and height to each product that uses Scenarios or shipping methods with dimension-based functions.

 

 

Add Product Dimension Metafields To Shopify

1. Go to your Shopify Admin page, then click Settings at the bottom of the sidebar menu.

IS - Shopify Home Settings

 

2. Select Metafields and metaobjects from the Settings menu.

IS - Shopify - Metafields and Metaobjects

 

3. Click the side-facing arrow next to 'Products'.

IS - Shopify - Metafields Products

 

4. Click the Add definition button.

IS - Shopify Product Metafields - Add Definition

 

5. Enter a name for your height metafield. We recommend using 'Height'.

IS - Shopify - Name Height Metafield

 

Shopify assigns a default metafield namespace and key (identifier). For this example, the default assigned is 'custom.height'. We recommend editing the identifier for easier mapping.

6. Click on the default namespace and key.

IS - Shopify - Edit Height Metafield Property

 

7. Rename the namespace and key as 'product.height' or something similar. Be sure to adhere to Shopify's formatting rules.

IS - Shopify - Name Height Metafield Identifier

 

8. Click the arrows next to 'Type'.

IS - Shopify - Height Metafield Type

 

9. Enter 'Dimension' into the search field, then select it as the type.

IS - Shopify - Height Metafield Type Dimension

 

10. Click the Save button at the top of the page.

IS - Shopify - Height Metafield Save

 

11. Repeat Steps 4 to 10 for product length and width.

 

If your products have variants, follow the steps in the next section. If you don't have variants, skip ahead to add product dimensions to Shopify.

 

Add Variant Dimension Metafields

If your products have variants, you’ll need to set up variant dimension metafields for all three dimensions in addition to those created for parent products.

1. Return to the main page for metafields and metaobjects.

IS - Shopify - Metafields and Metaobjects

 

2. Click the side-facing arrow next to 'Variants'.

IS - Shopify - Metafields Variants

 

3. Click the Add definition button.

IS - Shopify Variant Metafields - Add Definition

 

4. Enter a name for your variant height metafield. We recommend using 'Height'.

IS - Shopify - Name Variant Height Metafield

 

Shopify assigns a default metafield namespace and key (identifier). For this example, the default assigned is 'custom.height'. We recommend editing the identifier for easier mapping.

5. Click on the default namespace and key.

IS - Shopify - Edit Variant Height Metafield Property

 

6. Rename the namespace and key as 'variant.height' or something similar. Be sure to adhere to Shopify's formatting rules.

IS - Shopify - Name Variant Height Metafield Identifier

 

7. Click the arrows next to 'Type'.

IS - Shopify - Variant Height Metafield Type

 

8. Enter 'Dimension' into the search field, then select it as the type.

IS - Shopify - Variant Height Metafield Type Dimension

 

9. Click the Save button at the top of the page.

IS - Shopify - Variant Height Metafield Save

 

10. Repeat Steps 3 to 9 for variant length and width.

 

Add Product Dimensions

Once you've configured metafields for dimensions, you can begin adding dimension values to each of your products.

1. Go to your Shopify Product settings. Select a product, then scroll to the bottom of the page.

 

2. Enter values for all three dimension metafields. The unit of measurement, such as inches, is applied automatically based on your shop settings.

IS - Shopify -  Edit Product Dimension Metafields

 

3. Repeat Steps 1 and 2 for each product used by Scenarios and shipping methods with dimension-based functions. 

If your product has variants, follow the steps in the next section. If you don't have variants, return to Intuitive Shipping to complete metafield mapping.

 

Add Variant Dimensions

If your product has variants:

1. Select a product with variants, then click on a variant to edit its settings.

IS - Shopify - Edit Variant Settings

 

2. Enter values for all three variant dimension metafields. The unit of measurement, such as inches, is applied automatically based on your shop settings

IS - Shopify -  Edit Variant Dimension Metafields

 

3. Repeat Steps 1 and 2 for each variant that uses Scenarios and shipping methods with dimension-based functions, then return to Intuitive Shipping to complete metafield mapping.

 

 

Metafield Mapping

Metafields for dimensions must be added in your Shopify settings before mapping can be completed. Mapping must also be enabled for Shopify metafield dimensions to be used in rate calculations.

If you haven’t added product dimension metafields in Shopify yet, you’ll need to do that here before continuing with the steps below.

1. Click Shopify connection on the sidebar menu.

IS - Activity Menu - Shopify Connection

 

2. Click the toggle beside 'Metafield mapping' to enable metafields for dimensions.

IS - Shopify Connection - Metafield Mapping Toggle

 

3. Click the drop-down arrow beside product.length.

IS - Shopify Connection - Metafield Length Drop Down

 

4. Search the name of the length metafield by typing

IS - Shopify Connection - Length Metafield Search

 

5. Select the length metafield.

IS - Shopify Connection - Length Metafield Select

 

6. Repeat Steps 3 to 5 for product.width and product.height metafields.

KB KnowledgeMetafields for length, width, and height must be mapped, and each product must have values for all three dimensions saved in your Shopify product settings.

For example, if only length and width are mapped, or if all three are mapped but a product is missing a value for one of them, such as height, the dimensions will not be synced with Intuitive Shipping.

Mapping metafields for variants is only required if your products have variants and you created variant metafields. As with parent products, all three dimension metafields for variants (length, width, and height) must be mapped, and each variant must have values for all three dimensions saved in your Shopify product settings.

IS - Shopify Connection - Variant Metafields Mapped

 

7. If applicable, repeat Steps 3 to 5 for variant length, width and height.

 

8. Click Save mapping

IS - Shopify Connection - Save Mapping

 

Once mapping is completed, we recommend importing your catalog again to ensure all of your product metafield dimensions are synced with Intuitive Shipping.

KB Technical Support NewMissing metafield dimensions for length, width or height may result in checkout errors.

 

Verify Product Dimensions Are Syncing

1. Click Products on the sidebar menu.

IS - Activity Menu - Products-1

 

2. Click Edit next to a product with metafield dimensions added to your Shopify product settings.

IS - Products - Edit Highball Glass

 

If metafield product dimensions are syncing correctly, they will appear next to Shipping dimensions with a Shopify logo. If the dimensions and logo are not displayed, verify that metafield mapping is enabled, then try importing product catalog changes again. It may take a few minutes for the import to complete, depending on the size of your product catalog.

IS - Products - Shipping Dimensions from Metafields

 

If your product has variants and you added variant dimensions that are different than the parent product dimensions:

3. Click Variants below the product heading.

IS - Products - Variants

 

4. Click Edit next to a variant with metafield dimensions added to your Shopify product settings.

IS - Products - Edit Clear Variant

 

5. Select Define settings for this variant.

IS - Products - Define Settings For This Variant

 

If metafield variant dimensions are syncing correctly, they will appear next to Shipping dimensions with a Shopify logo. If the dimensions and logo are not displayed, verify that metafield mapping is enabled for variants, then try importing product catalog changes again. It may take a few minutes for the import to complete, depending on the size of your product catalog.

IS - Products - Variant Shipping Dimensions from Metafields

 

 

Learn more: