I'm building a custom shipping method for Magento 2. And I couldn't seem to find product dimensions within the standard attributes
However, when receiving product data information from the checkout in my plugin it does show width, height and length. (dump shown below)
{"street":"Test street 23","postcode":"1122AB","country":"NL","city":"Amsterdam","packages":{"height":null,"width":null,"length":null,"qty":1,"value":45,"weight":0}}
As I want to make this shipping method as general as possible, where can these 'standard' attributes for dimensions be set?
Thanks.
Best Answer
These default product dimensions I was looking for, are now available since magento version 2.2.5 and are retrievable like so;