Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    If I understood correctly, you would like to show related products but without using plugins.

    There is a Stackoverflow page that explains how to do it using custom code, you can check it out here.

    Note: It is highly recommended to use a plugin like Code Snippets to add custom PHP code into your site without directly accessing the functions.php file. Here is an article that explains how to use the Code Snippets plugin.

    I understand you were clear about With no plugins just in case you change your opinion I wanted to leave this tutorial with some alternatives to consider to show related products, cross-sales, and up sales:

    Set up WooCommerce Related Products, Up-Sells, and Cross-Sells

    I hope this provides clarity. Thanks 🙂

    • This reply was modified 4 years, 1 month ago by Igor H.
    Thread Starter mstudioIL

    (@mstudioil)

    Hey, I don’t mind plugins but I think it need to be part of WooCommerce, now the related products are random? I don’t understand how they set.

    Hi @mstudioil

    Thanks for your response.

    it need to be part of WooCommerce

    WooCommerce already has inbuilt ways to display related products in a number of ways, as Igor mentioned, even without using any plugins. This documentation will help you understand and implement it: https://woocommerce.com/document/related-products-up-sells-and-cross-sells/

    now the related products are random? I don’t understand how they set.

    Please go through the documentation and give it a try. If you are unable to set things up the way you want to and need help, let us know exactly what you are looking to achieve, and we’ll be here for you.

    Cheers

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful.

    If you have further questions, please feel free to open a new topic.

    Thread Starter mstudioIL

    (@mstudioil)

    I was busy with other sites, none of the solution is working as I wanted

    Plugin Support Raif Deari

    (@rdeari)

    Hi @mstudioil !

    Can you please clarify what are the proposed solutions missing?

    Thank you! 🙂

    Thread Starter mstudioIL

    (@mstudioil)

    I want to manually control the “Related Products”
    This is what is written “Related products are displayed automatically by WooCommerce by a random choice” I don’t want the automatically and random option.

    MayKato

    (@maykato)

    Hello,

    By default, WooCommerce pulls products that share the same tags or categories as the current product.

    There isn’t an official WooCommerce extension that allows to manually control related products, but these third party plugins below seem to offer the feature you are looking for:

    https://wordpress.org/plugins/wt-woocommerce-related-products/
    https://wordpress.org/plugins/manual-related-products-for-woo/

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Related products’ is closed to new replies.