Home › Forums › Basel support forum › Tabbed content & hide 'additional content' from product page
Tabbed content & hide 'additional content' from product page
- This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago by Artem Temos.
-
AuthorPosts
-
August 19, 2016 at 12:28 am #2872
tmoodsParticipantHi there,
I have a couple of questions please.1. On my product pages I’m using an HTML block to display tabbed content (https://www.dropbox.com/s/do15lugbc2u58ci/Screen%20Shot%202016-08-19%20at%2012.20.40%20PM.png?dl=0). One small styling issue I have is that there are forward slashes after the blue arrows (in between the tabs). Is there any way to delete these forward slashes please?
2. Also, on the product pages is it possible to hide the ‘Additional Content’ (I only want the review to display). I have tried to select ‘Hide tab headings’ at the product page level and also at the theme settings level but the Additional content still displays.
3. Is it possible to hide the SKU as this doesn’t need to be customer facing?
Thanks a lot!!
August 19, 2016 at 1:08 am #2873
tmoodsParticipantOne more question please!
Re, the standard horizontal tabs on the product pages (Description Additional Information etc). Is it possible to edit the titles and content within these tabs? Also, can you create new additional tabs to be displayed here?
For example, I would like to create a ‘Product Usage’ tab and have different information displayed for each product.
August 19, 2016 at 5:06 am #2879
Artem TemosKeymasterHello,
Thank you for creating the topic.
Could you please provide your web-site url so we can take a closer look at some problems?
2. Place this code to your functions.php file to hide this tab
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { unset( $tabs['additional_information'] ); // Remove the additional information tab return $tabs; }
3. Add the following code to the Custom CSS section in Theme Settings
.sku_wrapper { display: none!important; }
4. Here is a tutorial from woocommerce documentation that will help you rename them https://docs.woocommerce.com/document/editing-product-data-tabs/ . Unfortunately, there is no additional tab feature for each product in our theme.
Regards
August 19, 2016 at 5:10 am #2882
tmoodsParticipantGreat thanks a lot. Re question #1, I’m currently working in a local environment but I’ll provide a URL at a later stage if I don’t figure this out.
August 19, 2016 at 3:29 pm #2898
Artem TemosKeymasterOkay, so contact us if you will have any additional questions.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register