• Resolved kami

    (@shaky7)


    What sort of code do I have to add to functions.php for related products to appear under “woocommerce_after_single_product_summary” ?

    • This topic was modified 7 years, 4 months ago by kami.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vagelis

    (@eboxnet)

    Hello there, this should work:

    remove_action('woocommerce_after_single_product', 'wrprrdisplay');
    add_action('woocommerce_after_single_product_summary', 'wrprrdisplay', 10);

    let me know if anything.
    Thanks for using Woo Related Products.

    Thread Starter kami

    (@shaky7)

    Thank you for the fast response.

    Where does the shortcode for Woo Related Products come in that code?

    Plugin Author Vagelis

    (@eboxnet)

    You could use the shortcode in your product template or anywhere else but if you simply need to move the output the code i sent you will do the trick.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘functions.php code?’ is closed to new replies.