Cyber monday
  • Days
  • Hrs
  • Mins
  • Secs
40% Off

Use coupon code 'EBFCM40' Limited Offer!!

Star

Home > Docs > Related Products > Related Products for WooCommerce Plugin – Feature Walkthrough

Related Products for WooCommerce Plugin – Feature Walkthrough

Last updated on August 27, 2025

Related products – product recommendations are a powerful marketing strategy that helps capture customer attention by showcasing complementary or similar products for WooCommerce. This approach effectively drives cross-sells. While WooCommerce and some themes offer basic related product features, these options are often limited in functionality and customization.

The Related Products – Product Recommendations for WooCommerce plugin by WebToffee enhances these recommendations, providing advanced customization options to make them more appealing and aligned with your store’s goals.

Related Products Recommendation Demo
Related Products Recommendation Demo

Key Features

  • Flexible: Display related products from the same category, tags, or specific products.
  • Slider Display: Showcase related products in an interactive slider.
  • Shortcode Support: Use [wt-related-products product_id="xx"] to display related products anywhere.
  • Theme Conflict Resolution: Automatically handle theme compatibility issues.
  • Custom Sorting: Sort related products by title, date, slug, last modified, or randomly.
  • WPML Compatibility: Show the same related products across translated versions.
  • Stock Control: Exclude out-of-stock products from recommendations.
  • Product/Category Exclusion: Prevent products from specific products/categories from appearing as related.
  • Import Support: Import related products via code snippets—see the Import Related Products article for details.

Getting started

To access the settings:

  • Navigate to WooCommerce > Related Products from the WordPress dashboard. This opens a window with all recommendation-related settings.
Plugin Navigation
Plugin Navigation
Related products - General settings
Related products – General settings

Working mode / Recommendation type

The plugin provides three working modes that can be switched between based on requirements. The configuration made will be retained while switching modes are used.

Working mode - related products
Working mode – related products
  1. Custom Related Products (Recommended) – Display related products based on the plugin settings with complete customization control.
  2. Default – Use WooCommerce’s default-related product settings. (You can customize the recommendation title. No other customizations are available).
  3. Disable recommendation – Completely disable the related products section from your site.

With the custom-related products template, you can control how recommendations appear and which products are displayed.

Settings Sections:

  • General settings(On the plugin page) – These settings apply to all related product recommendations across the store (appearance, product/category exclusions, and recommendation constraints).
  • Individual product settings (On product edit page) – Override general settings for specific products and set up custom recommendations (optional; products based on general settings will display by default).

General Settings

Access the general setting from WooCommerce > Related products. Configurations done here are applicable recommendations across the store. Configurations altered for individual products will override general settings(Only for the selected product).

Cart Display Option

Show related products in cart – When enabled, displays a “Related Products” section on the cart page to encourage upselling and cross-selling (Recommendation will be displayed for the last product added to the cart).

Show related products in cart option
Show related products in cart option

Slider Configuration

  • Slider – Enable to showcase products in a slidable widget. Default is grid view.
  • Number of products to display on slider per page – You can configure how many products to show in the slider on different device types. Configured separately for desktops, tablets, and mobile phones.
  • Number of products to display – Define the total number of related products to show in the slider widget (for the shown example, ten related products will be displayed for each product).
  • Slider width – Specify how wide the slider should appear, as a percentage of the container (default is 100%).
  • Use custom slider arrow – If the slider arrow does not appear on specific themes, add a custom slider arrow to the widget.
Slider configuration
Slider configuration

Recommendation widget layout

You can either display the recommendation as a product grid or a slider.

Related products as grid
Related products in grid
Related products in grid
Related products in slider

Widget Settings

  • Related products title – Customize the title that appears above the related product widget (e.g., “You May Also Like“).
  • Display related products from Same category: Show products from the same category as the current product. Same tag: Show products sharing similar tags.
  • Hide related products for categories – Prevent the widget from appearing for specific product categories.
  • Hide related products for products – Hide the related products widget for specific individual products.
Widget settings
Widget settings

Sorting Options

  • Sort by – Sort products in the recommendation widget based on Title, Created date, Slug name, Updated date, Average rating, Popularity, Price, or Relevance. You can also display them randomly.
  • Sort order – Sorting order for products. It can be displayed in Ascending or Descending order.
📌

The plugin now offers a “Relevance” sorting option, designed to improve the product recommendations by prioritizing products from the same subcategory as the currently viewed item.

What it does:

When Relevance is selected from the Sort by dropdown:

  • Related products will be pulled first from the same subcategory.
  • If the subcategory doesn’t have enough products to fill the widget, items from the parent category will be used as a fallback.
  • For the Relevance sorting logic to work properly, the “Same category” option under “Display related products from” must be enabled.

This ensures that customers see the most contextually relevant suggestions based on their current viewing behavior.

Example:
Imagine you have this category structure:

  • MenShirt (subcategories: Polo, Formal)
  • MenPants

By default, if a customer is viewing a product from the Polo category, WooCommerce might also recommend items from Formal shirts(Both are in the Shirts category).

However, when Relevance is selected, the plugin will first prioritize Polo shirts. Products from the parent category (Shirt) will only be displayed if there aren’t enough items in the Polo subcategory to fill the recommendation section.

Product Exclusion Settings

  • Exclude out of stock products – Prevents showing unavailable products in the related products widget.
  • Exclude Backorder products – Prevents displaying products that are on backorder and not immediately shippable.
Sort and exclude products
Sort and exclude products

Advanced Settings

  • Use original product(WPML) – Instead of using the translated product’s ID, use the original product’s ID to generate recommendations for WPML-translated products.
  • Override the theme’s template – If the recommendations are not showing up on your store, override the theme and display them on the page.
Advanced settings
Advanced settings

Save Settings

Once you’ve configured all the desired settings, click the Save Changes button at the bottom of the page to apply your configuration. This will instantly update the related products display across your store based on your selections.

📌

Setting individual product recommendations will override Display-related products from settings, and selected products will be displayed.

Individual product settings

The configurations we’ve covered so far apply to all related product recommendations across the store and work seamlessly. These recommendations will appear for all relevant products based on your settings.

However, the plugin also allows you to assign custom / hand-picked product recommendations to specific products manually. This is especially useful when:

  • You want to promote specific products.
  • There aren’t enough products in the same category to provide meaningful recommendations, and you prefer to display hand-picked alternatives instead.

With this feature, you have greater control over the recommendations, ensuring they align with your store’s goals.

To set up custom recommendations, head to the Products tab from your WordPress dashboard and select a product for which you want to display custom recommendations.

From the product edit page, navigate to Product Data > Linked Products.

Set up custom related products
Set up custom related products
  • Upsells – default WooCommerce field
  • Cross-sells – default WooCommerce field
  • Categories – Recommendations shown from the selected categories.
  • Tags – Products with the selected tag shown as recommendations.
  • Attributes – Products with the selected attribute shown as recommendations.
  • Exclude product – Products from the selected categories hidden from the recommendations for this product.
Custom related products recommendation
Custom related products recommendation
👉

Good to know
Additionally, you can utilize the shortcode [wt-related-products product_id=XX] to showcase related products on custom posts/pages of your site. ( Replace the XX placeholder in the shortcode with the product ID of the product you are basing the recommendation on. Related product recommendations for the selected product will be displayed on the chosen post/page.)

Related products on a custom page
Related products on a custom page