WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Creativene
    Member
    Posted 6 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags