I want a pop-up to show with a message after the user clicks PROCEED TO CHECKOUT.
So the process goes like:
- User clicks PROCEED TO CHECKOUT
- Pop-up shows with the message with AGREE or DISAGREE buttons
- If DISAGREEd, close pop-up, and do not do anything, stays in the same page
- If AGREEd, redirect to checkout
PS: I do not need this information to go through backend somewhere, because this message has to be agreed to by all customers, no exception, so I will assume that if the order is placed, then the customer agreed to this message.
PS 2: I know I could place this message in html body, but for our business, this condition is so important I want to create a popup for it.
I'm using Magento 2.2.5 with PHP 7.1
Where should I start?