Related Products for WooCommerce free WordPress plugin
Description
Related Products for WooCommerce free WordPress plugin
You can now display fresh, random Woocommerce related products on every single product page load (in a slider or not) based on current product’s category,product tags or product attributes.
Starting from version 3.2 you can display related products in posts, pages and sidebar widgets and exclude categories.
Using the new shortcode [woo-related] for product pages
or [woo-related id=’XX’] / [woo-related product-id=’XX’ show-title=’no’] for posts,pages and widgets.
You can exclude taxonomies using the the option field in settings page.
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’]
same as above but will hide Related Products H2 title, for sidebar ie you can use widget title.
[woo-related id=’15’ title=’no’ number=’1′]
same as above but will return only 1 product.
[woo-related]
will use current product’s ID. To be used on product pages only.
Important in Version 3.2.3
Plugin renamed
Important in Version 3.2
Added option to exclude taxonomies.
Added a shortcode.
Plugin will adds support for shortcodes in sidebar // add_filter(‘widget_text’,’do_shortcode’);
Important in Version 3.0
Get related products by WooCommerce Product Attributes (ie color, size, texture etc).
Important in Version 2.3
New slider ( Owl Carousel ), if previous slider didn’t work for your theme please try the new one.
Related Products for WooCommerce can help you :
Display real related products (using a slider or not).
Set 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.
Requirements
WooCommerce Plugin
Plugin Setup
Install The plugin – visit istallation tab for more info
Use plugin’s option page to set up the plugin – located as a submenu inside WooCommerce menu –
Important in Version 3.2.3
Plugin renamed.
Version 3.2 includes
The abillity to exclude taxonomies.
[woo-related] Shortcode.
Added a couple CSS classes to make styling easier.
Version 3.1 includes
Translations.
Improvements.
Version 3.0 includes
Compatibility improvements.
Bug fixes.
Version 2.0 includes
A responsive slider for your related products.
Since V2.0 Options page is a submebu inside WooCommerce menu tab.
Improved Code for faster display.
Multi categories and tags support.
Bug Fixes.
Support
Feel free to contact me by email or even better use the support section here in wordpress.org and i will get back to you asap.
Related Products Block Position
Move related product
Woo Related Products plugin use WordPress hooks to display related products in product’s page,
if you need to move related products block you can remove the action and add it again using a different hook or priority.
This is extremly helpfull if you code your own theme/child theme.
To remove related products block you can use
remove_action(‘woocommerce_after_single_product’, ‘wrprrdisplay’);
in your theme’s function.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’s page actions.
Demo
Click here for DEMO.