Support » Plugin: Related Products for WooCommerce » $ related products

  • Resolved tcflip

    (@tcflip)


    Hello , is there any option to display 4 related products and no 3?

    Also the options:

    • Disable Woocommerce Default Related Products
    • Disable Custom Related Products

    Does not work.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webtoffee

    (@webtoffee)

    Hi @tcflip,

    To set the number of related product display to 4, please copy below code snippet to your active theme’s functions.php. Make sure that you have updated the plugin to latest version 1.1.0.

    add_filter('wt_related_products_number', function($number){return 4;});

    We have checked the options in our dev/test sites and it is working correctly for us. We will be optimizing the option and merging them together in coming releases.

    Hello @webtoffee ,

    Thank you for the fast responce and i like a lot your plugin.
    I updated the plugin, added the code and selecte 4 products in linked products but still i see only 3.

    Can you check it?

    Best regards

    Plugin Author webtoffee

    (@webtoffee)

    Hi @tcflip,

    We have tested the code snippet with the latest version of the plugin and it works correctly in our testing environment.

    Please share a product URL from your site for which you have set up 4 relatable products.

    Hello @webtoffee ,

    Thank you very much for the fast responce.

    Here is the product.

    I added 4 products: Blaizing trail, dusky squezer, glopy slipery, slimy slipery.

    And display the 3 of them.

    Best regards

    • This reply was modified 1 year, 4 months ago by tcflip.
    • This reply was modified 1 year, 4 months ago by tcflip.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘$ related products’ is closed to new replies.