0

How can I get increment_id on Magento 2 checkout page?

 >$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
   >$quoteId = $objectManager-> create('Magento\Checkout\Model\Session')->getQuoteId();///session user quote_Id

Im using objectManager to get quote_id, is there a solution using the same way?

1
  • Do you want to Order Increment Id on checkout page? Which need to assign this quote? Commented Aug 25, 2018 at 13:23

1 Answer 1

-1

Using inject Magento\Checkout\Model\Session to constructor

2

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.