This code enables you to add 3 custom product loops to your single product pages, which display products by a custom taxonomy named brand. The loops include code to remove duplicate products from all loops.
Example : If a product exists in loop, it will not be displayed in loop 2 or 3. All loops are checked for duplicate product ID’s.
If the product is in stock, 3 loops displays after the in stock product.
If the product is out of stock, 1 loop displays before the product and 2 loops after.
Click the gallery images to see how the loops display on in stock products and out of stock products.
You can control which products are displayed in each loop.
Loops displayed after the single product also include a related products header which only displays if products exist for that specific loop.
- 1 year code updates
- Free installation & setup for absolute beginners
- Code guarantee or your money back
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.
These solutions may also help :