I’m very new to Magento. I installed version 2.4.6.
And I’m trying to make a shipping method to estimate the cost of shipping.
I created three new products’ attributes (height
, width
, and length
), plus the weight
that comes by default.
And I need to calculate the shipping cost with a formula based on those four values.
But I only get the weight in the method collectRates()
using $request->getPackageWeight()
Is there a way to get all the other custom attributes?
Thanks