Action to remove related products

This topic contains 1 reply, has 2 voices, and was last updated by  Axle Support 8 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10614

    becskr
    Participant

    Please can you provide the action name for the related products? We don’t just want to hide them by css.

    The remove action woocommerce_output_related_products doesn’t work (ref)

    I’m also struggling to work out why it’s outputting two versions of the related products on this page: https://cartwrightfitness.co.uk/product/chester-step-test-online-training-seminar-by-professor-kevin-sykes/
    (please note we’re using another recommendation tool below this)

    #10620

    Axle Support
    Moderator

    Hi becskr,

    This action needs to work

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );

    But it looks like you are using another plugin which is adding RF Recommendation Section and that plugin might have changed the hook.

    Try to disable that plugin and check if the remove_action hook will work or not.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.