How can I remove the “Checkout” url from top links in Magento?

How can I remove the “Checkout” url from top links in Magento?

July 12, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How can I remove the “Checkout” url from top links in Magento?

Removing the “Checkout” Link from Magento Top Navigation

If you’re using Magento 1.7 or later versions and want to remove only the “Checkout” link from your top navigation menu while keeping the cart link intact, you’ve come to the right place. In this guide, we’ll walk through a step-by-step process to achieve this change.

Understanding the Default Behavior

By default, Magento includes both the Checkout link (which directs users to the shopping cart) and the My Account link in the top navigation menu. The checkout_cart_link is responsible for both of these links.

To confirm which links are currently being displayed, you can inspect the code found at:

app/code/core/Mage/Checkout/etc/config.xml

Look for the following section:

<config>
  <global>
    <addons>
      <checkout_cart_link>
        <label>Shopping Cart</label>
        <url_path>checkout/cart</url_path>
      </checkout_cart_link>
    </addons>
  </global>
</config>

To remove the Checkout link specifically, we need to modify the app/design/frontend/<your_theme>/layout/local.xml file.

  1. Locate or create this XML file in your theme folder (usually found under app/design/frontend/your_package/your_theme/layout/).

  2. Add the following code within the <layout> block:

<remove name="checkout_cart_link" />
  1. Save and close the file.

This line of code removes only the link defined by the checkout_cart_link identifier, leaving your cart functionality intact.

Verifying the Changes

After making this modification, you need to refresh or clear your Magento cache:

  1. Log in to your Magento admin panel.
  2. Navigate to System > Cache Management.
  3. Select all checkboxes under the “Enable” column.
  4. Click on “Flush Cache(s)” from the dropdown menu at the top right corner.
  5. Click “Submit”.

Once you’ve refreshed the cache, navigate back to the frontend of your site. You should now see that the Checkout (Shopping Cart) link has been removed from your top navigation menu, while the cart icon and functionality remain unaffected.

Best Practices for Theme Changes

When making changes like these in Magento 1.x, it’s always a good idea to follow these best practices:

  • Always backup your data before making any modifications.
  • Test thoroughly on a staging site first before applying updates to your live store.
  • Keep your theme updated with the latest version of your chosen theme package. Updating regularly helps you avoid conflicts and ensures you get the most recent features.

For more advanced customizations like this, consider hiring professional Magento development services from Laravel Company, where our expert team can handle these tasks efficiently and confidently for your business.

Conclusion

Removing the Checkout link specifically while keeping the cart functionality intact requires a delicate touch in Magento. By following the steps outlined above, you can achieve this change with minimal effort and maximal results.

Remember to keep your themes updated and always test changes on a staging environment before deploying them live. This approach ensures that your e-commerce store remains secure, stable, and optimized for your customers’ needs.

If you have further questions about Magento theme customizations or need professional assistance, don’t hesitate to reach out to our team at Laravel Company. We’re always ready to help you make the most of your Magento platform.

Magento 1 Checkout Themes Configuration

Our network