I want to add freeshipping on subtotal but after discount i already have tried with
if ($request->getFreeShipping()
|| $request->getPackageValueWithDiscount() >= $this->getConfigData('free_shipping_subtotal')) {
...
}
But this only takes subtotal not and discount did anyone know how can I get subtotal after discount.
Thanks