1

I want to add a custom checkbox just above the place order button. The user should be allowed to click the Place Order button only after the checkbox is checked. Thanks in advance!

1 Answer 1

0

Magento have in-built functionality to set checkbox above place Order Button.

Login to Backend :
Menu->Stores->Configuration->Sales->Checkout->->Checkout Options Under that form change the value of Enable Terms and Conditions to YES.

After that run php bin/magento c:f command & see the Magic.

1
  • Hi Mansuri. This setting is to display only the terms and conditions in the checkout page. My question is to add a custom checkbox in the same page. Thanks.
    – Mohsin
    Dec 26, 2018 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.