These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

Getting dimensions from Magento

We are a textiles business that cut fabrics by the metre, we offer shipments either 'Rolled' and folded, this option is chosen at the point of checkout and the dimensions vary, so calculating dimensions is a little complicated for us. Every order is bespoke and cut to order at different sizes, the dimensions would need to be dynamic based on quantity and items in the basket.

For example if somebody orders 1 metre of fabric, the dimensions for folded delivery might be: 30 x 30 x 5cm
But an order for quantity of 2 will not be (30 x 30 x 5cm) * 2. It would be more like 30 x 30 x 10cm. So we need a solution which incrementally increases based on the quantity and items in the basket. This increment would be different depending on the product group.

Similarly for rolled delivery, an average roll is around 150 x 20 x 20 - which would increase incrementally based on the item and a predefined increment.

I have a solution to calculate this on magento side with some custom development but I need to know if easy ship can get the dimensions once they're calculated from magento at the point of checkout.
Or if you can offer any alternative ideas?