WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Number of related products (2 posts)

  1. kosmikkreeper
    Member
    Posted 1 year ago #

    Hello

    Love woocommerce! :) But I'm looking for a way to change the number of "related products" showing up on the prodcut page. It currently show 2 products but I would like it to show 3 or 4. Where can I change this?

    Thank you!

    Yanik

    http://wordpress.org/extend/plugins/woocommerce/

  2. kosmikkreeper
    Member
    Posted 1 year ago #

    Ok I found this code on the site

    // Redefine woocommerce_output_related_products()
    function woocommerce_output_related_products() {
    woocommerce_related_products(3,3); // Display 3 products in rows of 3
    }
    and it worked on adding a 3rd product. But I'd like all 3 to be in one row. In other words, shrink the size of the thumbs.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic