Home › Forums › Themes Support › Claue › Suppress related products while maintaining cross-selling
Tagged: remove related product
- This topic has 6 replies, 2 voices, and was last updated 6 years, 7 months ago by antonio.
-
AuthorPosts
-
-
September 15, 2017 at 10:48 pm #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 -
September 16, 2017 at 12:38 am #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-
September 16, 2017 at 12:56 am #10199
-
-
September 16, 2017 at 9:18 am #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 -
September 16, 2017 at 4:06 pm #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. -
September 16, 2017 at 4:56 pm #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 -
September 16, 2017 at 5:11 pm #10232
Ok Harry,
nice weekend an thank you very much.
Closed topic.
-
-
AuthorPosts
You must be logged in to reply to this topic.