By default when the Terms and Conditions are enabled, visitors are required to tick / check "I agree" (Checkbox Text) to the Terms and Conditions of the website at the end of the checkout process.

To expedite the checkout process, I'd like to have this checkbox already selected.

What is the best method to automatically have the checkbox selected agreeing to the Terms and Conditions of the website on Checkout?


Just edit template/checkout/onepage/agreements.phtml and add checked="checked" on the checkbox input.

<input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->escapeHtml($_a->getCheckboxText()) ?>" class="checkbox" checked="checked" />
  • Beautiful! Wish I could give more credit for speed. Thanks Marius!! – SR_Magento Mar 1 '14 at 13:24

Your Answer

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

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