Magento Terms and conditions checkbox not showing on checkout page review section

Magento Terms and conditions checkbox not showing on checkout page review section

July 17, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento Terms and conditions checkbox not showing on checkout page review section

Resolving the Magento Terms & Conditions Checkbox Issue on Checkout Page

As an experienced Magento developer, I’ve encountered this issue several times across various client projects. It’s quite common for the Terms & Conditions checkbox to disappear from the checkout page review section, even though it’s enabled in the admin configuration.

Step 1: Understanding the Problem

The error message you’re seeing (“Please agree to all the terms and conditions before placing the order.”) when clicking the “Place Order” button suggests that Magento is configured correctly on the back-end. However, the front-end checkbox isn’t being rendered properly.

Your investigation into disabling extensions and checking the code in app/code/core/mage/checkout/block/Agreement.php file was thorough. The $this->setAgreements($agreements); function should fetch the Terms & Conditions agreements created from the Sales > Terms and Condition section on the admin panel, but it’s returning null.

Step 2: Checking System Configuration

The first place to start troubleshooting is the system configuration itself:

  1. Log in to your Magento admin panel.
  2. Navigate to Stores > Configuration > Sales > Checkout.
  3. Expand the Terms and Conditions section.
  4. Ensure that Enable Agreement is set to “Yes.”
  5. Verify that Agreement Text contains the actual terms and conditions you want customers to accept.

Step 3: Reviewing Your Customizations

If your system configuration is correct, let’s look at some common causes for this issue:

Overridden Templates

If you’ve overridden any Magento templates or used a third-party theme with custom checkout page layouts, the checkbox might be hidden due to CSS styling. Check if there are any custom CSS rules targeting the checkbox element in your theme.

JavaScript Conflicts

Sometimes, JavaScript conflicts from extensions can prevent elements from being rendered properly. If you have multiple extensions installed that deal with the checkout process, try disabling them one by one to identify if a specific extension is causing the issue.

Step 4: Debugging the Issue

To better understand what’s happening, let’s add some debugging code to your Agreement.php file:

public function getAgreements()
{
    $agreements = Mage::getModel('sales/agreement')->getCollection();

    if ($agreements->count() > 0) {
        return $agreements;
    }

    // Add this line for debug information
    Mage::log("No terms and conditions found", null, 'checkout.log', true);

    return array();
}

This code will log a message to the checkout.log file if no Terms & Conditions agreements are found. You can find this log file in your Magento installation’s var/log/ directory.

Step 5: Reindexing and Compiling

If none of the above steps resolve the issue, try reindexing and recompiling your Magento store:

  1. Log in to your admin panel.
  2. Navigate to System > Index Management.
  3. Select all the index statuses by clicking on “Select All.”
  4. Click the “Submit” button for each status.

After reindexing, clear your browser cache and try accessing the checkout page again.

Conclusion

Resolving this issue typically involves a combination of checking system configuration settings, reviewing customizations, and debugging potential conflicts or errors in your Magento installation.

If you’re still having trouble, I recommend reaching out to a professional Magento development team like ours at Laravel Company. Our experienced developers can provide expert guidance and help you troubleshoot complex issues like this one.

Remember, maintaining up-to-date knowledge of the specific version of Magento you’re using (in your case, 1.8) is crucial for effective problem-solving. Regularly updating your platform and staying informed about best practices can prevent many common issues from occurring in the first place.

Happy coding!

Checkout Extensions Admin Configuration

Our network