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

How to Set Up/Assign Product Attributes on Shopify

Assign and manage product attributes for customized shipping solutions in Shopify

Table of Contents

Overview 😊

When setting rules for certain products on Shopify, you'll need to assign specific attributes to these products. These attributes can be Shipping Groups, Origins, Packing Rules, or product dimensions (L, W, H). You can update product attributes individually or in bulk. This guide will show you how to do both.

Considerations 💡

When updating Shopify attributes, ensure you are editing the Parent product or the child/variant product as needed. For attributes on a variant/child product, make sure ShipperHQ is set to look at the variants/child attributes.

Update Individual Products

Steps

  1. In your Shopify backend, go to the Product Catalogue and view one of your products.
  2. Under the "More Actions" dropdown on your product details, click "Edit Shipping Properties".
    Location to Edit Shipping Properties for a product on Shopify dashboard.
  3. Copy/paste the exact name of your Shipping Group, Origin, or Packing Rule into the relevant field (Packing Rules are called "Dimensional Groups" in Shopify). For example, enter "SURCHARGE" if that's the Shipping Group name.
    Bulk editor menu for inserting Product Dimensions, Shipping Groups, Origins, etc.
  4. If using Dimensional Shipping, set the length, width, and height of products.

Note: All names are case sensitive. Use a hash (#) symbol to separate multiple Origins or Shipping Groups.

Enabling Support for Shopify Multi-Origin Inventory

Besides using meta field details for Origins, another method allows ShipperHQ to read origins directly within the Multi-Origin Advanced Feature settings. This can save time and improve accuracy when rating from different origins. Enable support under the Multi-Origin Advanced Feature > Settings Tab by switching the drop-down from “No” to “Yes” and clicking “Apply.”

Enable Shopify MO Support in SHQ

Update Variant Products

To edit metafields for variant products, ensure your ShipperHQ configuration doesn't use the parent attributes. If not changed, "Edit Shipping Properties" will only allow parent product metafield editing. ⚠️ Support for variant product metafields requires a ShipperHQ plan of Standard or above.

Update Products via Bulk Import/Export

Use a third-party app to update product attributes in bulk. ShipperHQ isn't an export/import app. Shopify lacks native bulk update support, so tools like Metafields2 from sineLABS or Ablestar are helpful.

ShipperHQ uses Shopify best practices with Metadata fields and supports these product level attributes:

  1. Download Metafields2 from the Shopify App store. Contact support@sinelabs.com for help if needed.
  2. Go to your Shopify dashboard, click Products, More Actions, then Metafields2 App.
    Finding Metafields2 app on Shopify store to bulk update product shipping properties.
  3. If ShipperHQ Attributes are already added, export existing metafields via Metafields App → Utilities → Export Metafields.
  4. Edit exported CSV attributes for quick updates.
  5. If no attributes exist, create metafields in Metafields2 by choosing 'Products' or 'Variants'.
    Configure new product metafields for storing shipping properties.
  6. Export your products through Metafields App → Utilities → Export Metafields.
  7. Edit the exported CSV using a spreadsheet editor with 'UTF-8' formatting. Other formats will cause import failure.
  8. After editing, import the CSV using 'UTF-8' format back into Metafields App → Utilities.

Adding Reusable Attributes to the Bulk Editor

If you choose not to use an external app for Bulk Metafields updates, you can use Shopify’s native Bulk Editor. Here's how to add reusable attributes:

  1. From your Shopify dashboard, go to Settings.
    Selecting Settings on Shopify dashboard.
  2. Select Custom Data.
    Custom data option under settings on Shopify store.
  3. Under Metafield Descriptions, choose Products, then Add Definition.
    Location to add definition for a metafield on Shopify bulk editor.
  4. Enter the attribute name and ensure it applies to a List of Products.
  5. Navigate to your products and select one to update. Initially, the new metafield won’t be visible.
  6. Click the Columns link in the product editor. Add the new metafield description as a product column.
    Click on columns to view and select newly created metafields.
  7. The new column will appear in the bulk editor. Update applicable products and save.
    After selecting the metafield it appears as a new column in bulk editor.

Types of Metafields ⚠️

Metafield attribute keys below are CASE SENSITIVE and must be uppercase. Lowercase values will not be recognized.

Namespace: global
Key: SHIPPING_GROUPS
Type: string or single_line_text
Value: "Shipping Group Name"
Namespace: global
Key: ORIGINS
Type: string or single_line_text
Value: "Origin name"
Namespace: global
Key: DIMENSIONAL_GROUPS
Type: string or single_line_text
Value: "Dimensional Rules Name"
Namespace: global
Key: LENGTH
Type: string or single_line_text
Value: "Length"
Namespace: global
Key: WIDTH
Type: string or single_line_text
Value: "Width"
Namespace: global
Key: HEIGHT
Type: string or single_line_text
Value: "Height"
Namespace: global
Key: HS_CODE
Type: string or single_line_text
Value: "HS Code"

Note on Metafield Types

In 2021, Shopify updated available "types" for metafields, deprecating the "string" type used by ShipperHQ. If using Metafields2, set new metafields to "singlelinetext_field". Both types work with ShipperHQ.

Next Steps

After assigning products to their dimensions, Shipping Group, Packing Rule, or Origin, test them! Add the product to your cart and enter a zip code to check rates. If tests don't work as expected, check our common Troubleshooting steps for help! 😊