Home Forums Themes Support Claue Suppress related products while maintaining cross-selling

Topic Resolution: Resolved
Viewing 5 reply threads
  • Author
    Posts
    • #10179

      Hello, nice theme. I am adapting my web page to your template but I need to delete related products and leave only cross sales.
      From the options menu I think you can not configure, is there any other way?
      Thanks and best regards

    • #10197

      Hi,

      Thank you for choosing our theme and your kind words

      You can remove related product by add below code to functions.php in claue-child

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

      • #10199

        Many thanks, can you tell me the exact point where I should enter that code?

        I have had some bad experience modifying this type of files!

        I attached screen capture, greetings.

        Attachments:
        You must be logged in to view attached files.
    • #10207

      Hi,

      You need put the code in last line, below “add_action( ‘wp_enqueue_scripts’, ‘jas_gecko_enqueue_script’ );”

      After you activate claue-child you have to re-arrange widget in Appearance > Widgets to correct sidebar.

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #10225

      Good morning, I followed your instructions and everything went well.
      I wanted to know if I have to always have the child theme activated or if I can re-activate the main theme and do something else so that the related products will not be displayed again.
      Thank you very much for your help, greetings.

    • #10231

      Hi Atonio,

      If you switch to activate main theme the related product will display. The code only apply for child theme.

      Best regards

      Have nice weekend.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #10232

      Ok Harry,

      nice weekend an thank you very much.

      Closed topic.

Viewing 5 reply threads

You must be logged in to reply to this topic.