How to set up product dimensions in Magento 2

Overview

  • You can add product dimensions to Magento 2, which Starshipit then reads on import and uses for rates at checkout.
  • Magento 2 uses an attribute system to manage the information associated with products (like size, colour and more).
  • To use dimensions in Starshipit you’ll need to create custom attributes in your Magento 2 settings.

How it works

To start, you will need to create the following custom attributes in Magento 2:

  • Length
  • Height
  • Width

Note: Ensure you follow the exact spelling. Capitalisation (Length vs length) doesn’t matter.

Add a custom attribute in Magento 2

  1. Go to the Admin Panel.
  2. Click Stores.
  3. Click Attributes.
  4. Click Product.
  5. Click Add Attribute.
  6. Click Create New Attribute.
  7. Set the name of the attribute in the field Attribute Label as Length.
  8. Leave the Catalog input Type as "Text Field".
  9. You don't need to change the Required toggle.
  10. Click Save Attribute.

Repeat the above steps to create attributes for Height and Width.

Notes

  • All custom attributes created for one product will be created for all products as empty fields. If the fields are empty or if you set a non-numeric character in the dimension, then it will assume zero when getting rates.
  • Once the attributes are created, it will start working next time a customer adds this product to their shopping cart.
  • If your dimensions aren’t pulling through, change the attribute code to all lower case.
  • When importing orders from Magento 2, the dimensions come through to Starshipit in meters (m).
  • When you open an order, you’ll see the imported dimension converted according to the Display Sizes Unit you’ve set in Settings > Options.

 

Want to deliver great shipping experiences?

Start a 30-day free trial or book a demo with one of our shipping experts

Was this article helpful?
0 out of 0 found this helpful

We're sorry you didn't find this helpful - please help improve this article!

We're always looking for ways to get it right.Please help others by submitting your feedback here