To Retrieve Current Quote Id from the cart checkout page, You need to use a checkout session to fetch all the information related to quote data.
Use Magento\Checkout\Model\Session to inject the object using the class __construct() method. While you working with the checkout page and need to fetch quote data by current quote id, in this case this article is useful for you.
Checkout session contains the quote data and using session fetch getQuote(), based on the quote, you can get any quote related data. Continue reading “How to Get Current Quote Id by Checkout Session Magento 2?”