Home › Forums › Themes Support › Claue › Extra information on product detail
- This topic has 8 replies, 2 voices, and was last updated 6 years, 6 months ago by mvajax.
-
AuthorPosts
-
-
June 9, 2018 at 2:14 am #21476
Hi! I don’t want to show the extra information on the product detail page. I only want to show the reviews. How can i turn off the extra information?
Thnx!
-
June 9, 2018 at 2:20 am #21479
Hi,
Please add below code to claue-child > functions.php
//Remove WooCommerce Tabs - this code removes all 3 tabs - to be more specific just remove actual unset lines add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { unset( $tabs['description'] ); // Remove the description tab return $tabs; }
Please refer this topic https://wpbeaches.com/hide-the-description-and-reviews-tabs-in-woocommerce-products/
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
June 9, 2018 at 2:52 am #21481
Hi, Please add below code to claue-child > functions.php
//Remove WooCommerce Tabs - this code removes all 3 tabs - to be more specific just remove actual unset lines add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { unset( $tabs['description'] ); // Remove the description tab return $tabs; }
Please refer this topic https://wpbeaches.com/hide-the-description-and-reviews-tabs-in-woocommerce-products/ Best regards
I don’t have the child theme. How can i fix it anyway?
-
June 9, 2018 at 9:48 am #21494
Hi,
The child theme included in the package you download from Envato, please download and extract.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio-
June 12, 2018 at 8:23 pm #21563
Can i install the child theme without losing any content?
-
-
June 12, 2018 at 11:28 pm #21569
Hi,
Yes, you can activate child theme without losing any content, but you have to re-arrange widget to old sidebar
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
June 13, 2018 at 1:54 am #21572
Hi! I did all the above things, but the ‘extra information’ is still there. How can i fix it?
-
June 13, 2018 at 5:31 pm #21586
Hi,
Please change prev code to
//Remove WooCommerce Tabs - this code removes all 3 tabs - to be more specific just remove actual unset lines add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { unset( $tabs['description'] ); // Remove the description tab unset( $tabs['additional_information'] ); // Remove the additional information tab return $tabs; }
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
June 20, 2018 at 12:41 am #21736
Thnx!
-
-
AuthorPosts
You must be logged in to reply to this topic.