0
 $coupon='NL01-5234';//$_SESSION["code"] ;

        $collection = $this->_orderCollectionFactory->create()
            ->addAttributeToSelect('subtotal')
            ->addFieldToFilter('coupon_code', $coupon)//Add condition if you wish
            ->load();
        foreach ($collection as $c){
            print_r($c);

         }

How i get SUBTOTAL VALUE ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.