0

How to get multiple shipping address subtotal cart item wise? I mean get subtotal of item with different address selected. I'm using Ship to multiple address option and i want to use that subtotal in /Usa/Model/Shipping/Carrier/Ups.php file. Thanks.

1 Answer 1

1

In /Usa/Model/Shipping/Carrier/Ups.php file there are function called setRequest() where we can get subtotal of multiple shipping each item using $request->getPackageValue(). If we want to get subtotal in different function for ex _parseCgiResponse() then call $this->_request->getPackageValue() method. Hope it helps someone. Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.