How can a shipping method get the current order or quote subtotal?
Development
Shipment
order
,
totals
,
quote
,
shipping
dmitry_fedyuk
(Dmitry Fedyuk)
June 26, 2016, 5:30pm
#1
Use
$request->getBaseSubtotalInclTax()
, e.g.:
How to dynamically calculate the shipping price based on the order total? Can we customize the table rate?