---
title: "How to Display Related Products on the WooCommerce Checkout Page"
description: "Learn how to display related product recommendations on the checkout page of your WooCommerce store with Related products for WooCommerce"
author: "Arjun"
published_date: 2024-01-08
modified_date: 2026-07-12
canonical_url: "https://www.webtoffee.com/docs/related-products/display-related-products-woocommerce-checkout/"
source: "https://www.webtoffee.com"
reading_time: 2 min
word_count: 373
categories:
  - "Display Settings"
  - "Documentation"
  - "Related Products"
---

## Summary

Learn how to display related product recommendations on the checkout page of your WooCommerce store with Related products for WooCommerce

## Breadcrumb

[Home](https://www.webtoffee.com/) > [Documentation](https://www.webtoffee.com/category/documentation/) > [Related Products](https://www.webtoffee.com/category/documentation/related-products/) > How to Display Related Products on the WooCommerce Checkout Page

# How to Display Related Products on the WooCommerce Checkout Page

*Last updated on July 12, 2026*

The [WebToffee Related Products for WooCommerce](https://wordpress.org/plugins/wt-woocommerce-related-products/) plugin allows you to increase your store’s average order value by displaying product recommendations on the checkout page. While the plugin automatically handles recommendations on product pages, adding them to the checkout page requires a small code snippet in your theme’s ‘functions.php’ file. Once added, the plugin will scan the customer’s cart and display a personalized related products section right below the checkout form, encouraging last-minute additions to their order.[](https://wordpress.org/plugins/wt-woocommerce-related-products/)

## Set up related products

To begin with, once the plugin is installed and activated:

- From the WordPress dashboard, navigate to WooCommerce > Related products.
- [Configure the Related product recommendations](https://www.webtoffee.com/docs/related-products/related-products-woocommerce-feature-walkthrough/) as you prefer.
- You can choose to display WooCommerce’s default product recommendation or set a customized recommendation version.
- Save your changes.

![Setting up related products](https://www.webtoffee.com/wp-content/uploads/2024/01/image.webp)
*caption: Setting up related products*

## Display related products on checkout

To display the related product recommendations on the checkout page, use the code snippet provided below in your theme’s functions.php file. To do so,

- Navigate to Appearance > Theme File Editor > functions.php file from the WordPress dashboard.
- Copy the code snippet provided below.
- Paste the code snippet into the bottom of the functions.php file.
- Save the functions.php file.
- Alternatively, if you can’t find the functions.php file for your theme, refer to [this](https://www.webtoffee.com/docs/how-tos/add-custom-code-snippets-third-party-plugins/) article to learn how to add the code snippet to your store.

### Code snippet

Once the snippet is added successfully, the related product recommendation will be displayed on the checkout page.

The provided code snippet showcases related products on the checkout page after the checkout form. If you prefer to place them in a different location on the checkout page other than after the checkout form, you can replace the following action hook in the code snippet, woocommerce_after_checkout_form, with one of your choices.

Refer to the following article to explore different action hooks available on the checkout page and change the position as per your preference: [WooCommerce Visual Hook Guide – Checkout Page](https://www.businessbloomer.com/woocommerce-visual-hook-guide-checkout-page/).

![WooCommerce Checkout page](https://www.webtoffee.com/wp-content/uploads/2024/01/image-1.webp)
*caption: WooCommerce Checkout page*

Also Read

- [Import Related Products Using WooCommerce Importer](https://www.webtoffee.com/docs/related-products/import-woocommerce-related-products/)
- [Import and Export Related Products in a WooCommerce Store](https://www.webtoffee.com/docs/related-products/import-export-related-products-wp-all-import-export/)

- [Test for Theme Conflicts in Related Products for WooCommerce](https://www.webtoffee.com/docs/related-products/test-theme-conflicts-related-products-recommendations/)
- [Hide Related Products for Selected Products or Categories](https://www.webtoffee.com/docs/related-products/hide-related-products-for-selected-products-or-categories/)## Plugin Spotlight

Free plugin

Related Products for WooCommerce

[Download free version](https://downloads.wordpress.org/plugin/wt-woocommerce-related-products.zip)

## About the Author

[Arjun](https://www.webtoffee.com/author/arjun/)

Technical writer for WebToffee. When I'm not crafting words, you'll find me either exploring hidden trails on my bike or curled up with a good sci-fi movie on Netflix.

## Documentation Navigation

- [Getting Started](#getting-started-related-products)- [Setup Guide](https://www.webtoffee.com/docs/related-products/setup-related-products-recommendations-woocommerce/)
- [Feature Walkthrough](https://www.webtoffee.com/docs/related-products/related-products-woocommerce-feature-walkthrough/)
- [Display Settings](#display-settings-product-recommendation)- [Display Related Products on Checkout](https://www.webtoffee.com/docs/related-products/display-related-products-woocommerce-checkout/)
- [Hide Related Products](https://www.webtoffee.com/docs/related-products/hide-related-products-for-selected-products-or-categories/)
- [Hide Price Label](https://www.webtoffee.com/docs/related-products/hide-price-label-woocommerce-related-products/)
- [Import & Export](#import-export-related-products)- [Import & Export Related Products](https://www.webtoffee.com/docs/related-products/import-export-related-products-wp-all-import-export/)
- [Export Related Products Using WooCommerce Exporter](https://www.webtoffee.com/docs/related-products/export-woocommerce-related-products/)
- [Import Related Products Using ID](https://www.webtoffee.com/docs/related-products/import-woocommerce-related-products/)
- [Troubleshooting](#troubleshooting-related-products)- [Test for Theme Conflicts](https://www.webtoffee.com/docs/related-products/test-theme-conflicts-related-products-recommendations/)