• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Checkout
  • Cart
  • Videos

Remove Duplicate Products When Using 2 Loops For Products In Same Taxonomy Term

$75.00

Category: WooCommerce
  • Description

The code includes 2 custom WooCommerce product loops which you can display in any position on your single products page. Only unique products are displayed removing duplicates including the current product the loops are displayed on. Out of stock products are also removed.

In this example, the 1st loop is shown before the single product and the 2nd after the single product.

Remove Duplicate Products When Using 2 Loops For Products In Same Taxonomy Term

Installation

There’s only 1 step :

Copy & paste the PHP code ( excluding the opening PHP tag ) from the functions.php file to the end of your child themes functions file or custom functionality plugin.

Primary Sidebar

Cart

Code written by Brad Dalton specialist for WooCommerce with more than 10 years of experience.

Advertise · WPEngine · Genesis · Log in

  • Code Snippets
  • Tutorials
  • Videos
  • Account
  • Checkout
  • Cart
 

Loading Comments...
 

You must be logged in to post a comment.