How do you display more than 4 related products on products view page

Displaying more than 4 related products

There have a filter “woocommerce_related_products_args” in woocommerce/templates/single-product/related.php file. I targeted this filter and modify the defaults related products arguments. Just drop the following code in your child theme’s functions.php file:

This content is only available to members. You must subscribe the monthly membership plan ($9.99 USD).

Share This Article

C. Paul

Creating Genesis Framework related themes, plugins, articles and troubleshooting the issues. Also I am doing the freelance work for clients.

Subscribe Membership Plan ($9.99/mo)

  • Get full access to all premium tutorials
  • Get Support for the posted content
  • Request for specific how-to tutorials
  • Cancel the subscription at anytime

Reader Interactions

Leave A Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.