WordPress.org

Forums

WooCommerce - excelling eCommerce
Change number of related products (1 post)

  1. Creativene
    Member
    Posted 1 year ago #

    I have added this code to the functions.php but it keeps my 4 related products listed vertical instead of horizontal. How do I fix that? Below the code is a link to one of product pages so you can see.

    Thank you

    // Redefine woocommerce_output_related_products()
    function woocommerce_output_related_products() {
    woocommerce_related_products(4,1); // Display 4 products in rows of 4
    }

    http://www.creativene.com/product/gunner-ask-you-vintage-valentine-reproduction/

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags