WordPress plugin intelligence profile

Related Products for WooCommerce

Display random related products in a slider based on product category, tag, or attribute on every product page.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version3.3.17
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 4.0 · PHP —
Directory statusactive
Last directory update2 Oct 20251y ago
Active installations3K+Adoption metric — not a quality score
WordPress.org rating4.9 / 5 from 46 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Related Products for WooCommerce version 3.3.17 as active, updated 1y ago and tested up to WordPress 6.8.

Overview

About this plugin

Display fresh, random WooCommerce related products on every single product page load (in a slider or not) based on the current product’s category, tags, or attributes.

Related products can be configured to display in posts, pages, and sidebar widgets, and can be configured to exclude categories.

Use the shortcode [woo-related] for product pages or [woo-related id='XX'] / [woo-related product-id='XX' show-title='no'] for posts, pages, and widgets.

Exclude taxonomies using the the option field in the settings page.

The shortcode accepts id, title and number.

Shortcode examples

[woo-related id='15']

will display related products based on product ID 15.

[woo-related id='15' title='no']

is the same as above but will hide Related Products title. For sidebars, etc. you can use the widget title.

[woo-related id='15' title='no' number='1']

is the same as above but will return only 1 product.

[woo-related]

will use current product’s ID. This should be used on product pages only.

Related Products for WooCommerce can help you:

  • Display real related products (using a slider or not)
  • Set the related product’s heading text (you can use HTML)
  • Set the number of related products you want to display or disable them
  • Set category or tag based related products
  • Display related products using Flexslider
  • Translate related products heading text
  • Exclude taxonomies from your related products
  • Use a shortcode to add related products to posts/pages and widgets

Related Products block position

Move related products

Related Products for WooCommerce uses WordPress hooks to display related products on product pages. If you need to move the related products block you can remove the action and add it again using a different hook or priority. This is extremly helpful if you code your own theme or child theme.

To remove related products block you can use

remove_action( 'woocommerce_after_single_product', 'wrprrdisplay' );

php file.

If you want to add it again you can do something like this

add_action( 'woocommerce_after_single_product', 'wrprrdisplay', 55 );

or

add_action( 'ANY-OTHER-HOOK', 'wrprrdisplay', PRIORITY );

Check GitHub for all single product page actions.

Demo

You can see a demo of the plugin here.

Requirements

  • WooCommerce

Plugin setup

  • Install the plugin—visit the installation tab for more info
  • Use the plugin’s option page, located in the WooCommerce menu, to set up the plugin

Support

  • Feel free to use the support forum, and we will get back to you as soon as possible.

Want even better related products?

We recommend trying the Related Products feature that is built-in to PeachPay, an all-in-one checkout and product recommendation solution engineered to increase sales.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • products slider
  • related products
  • random
  • woocommerce
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 4.0 · PHP not listed
Update activity2 Oct 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.