Skip to main content

How to add Metafields to your Shopify store

Want to add product dimensions to products in your Shopify store? First you'll need to create Metafields. Here's how to do that.

Written by Meegan

To import dimensions for your products, you'll first need to create Product Metafields in your store.

Depending on the products you sell, you may need to create Product Metafields and Variant Metafields.

Product Metafields are used when it is a singular product, or where the variants of a product all have the same dimensions.

In your Shopify store, click on Settings in the bottom left corner.

Next, click on Metafields and metaobjects in the left menu.

Click on Products,

then click Add Definition.

You'll need to create one definition each for Length, Width and Depth.

Enter the name for your metafield, eg. Length.

Select # Integer from the dropdown list in the Type field.

⚠️ Take note of the metafield "key" as shown in the highlighted box below. This is the name you will need to enter in your store settings in ReadyToShip. Then click Save.

Once you have set up one metafield each for Length, Width and Depth you'll need to populate each of those dimensions in your products so that when we import orders the dimensions also import.

Products can be updated individually or in bulk.


How to bulk edit product metafields

  1. Go to Products in your Shopify admin

  2. Select the products you wish to edit

  3. Click Bulk Edit

  4. Click Columns - you can deselect the columns you don't need to see, so that your screen is more manageable

  5. In the same dropdown, scroll to Metafields, select the metafields you want to edit (in our case Length, Width and Depth) so they show on your screen. Click anywhere on screen to close column selection box.

  6. Populate your metafields with the dimensions data (enter numbers only, and it must be in cm), then click Save.

Next, update your ReadyToShip settings so that we import the dimensions data when importing your orders. Click here for instructions.


How to handle products with variants

Product Metafields are used for shared data (eg. all variants of a product have the same dimensions).

If you have product variants with different dimensions, you will need to create Variant Metafields and populate those. You can also follow the same directions as above to add these, but at Step 3 click on Variants and add the same metafield names as you did for Products (Length, Width, Depth) so that they are assigned the same metafield keys.

Then when updating the dimensions in your product data, you can bulk add dimensions for Products and any differing Variant dimensions all at the same time.

Did this answer your question?