Can I hide additional information in product page

7 replies3 participantsUpdated by Jack Richardson

  • Avatar: EE Eric
    EE Eric
    Participant

    Hello there, I want to hide active additional information on my product page, but I cannot see any option to select “hide”.

    I mean I want that additional information but not active, because I have a lot info there, for users it is a lot of scrolling to the product description. I just want to force users to click on additional info if they want to know more technical specifications.

    Can you help me with that? I add the screenshot with this problem.

    Files is visible for topic creator and
    support staff only.

    7 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @EE Eric,

    Since you are using the Single Product Page Builder based on Elementor, you can adjust the order of the tabs in the Single Product Tabs widget by draging the items (https://prnt.sc/YjOdcXfO-Y4N). To access the builder, please navigate to Dashboard → XStore Builders → Single Product Builder → Go to Builder (Elementor).

    You can find more information about the Single Product Builder here: https://www.8theme.com/documentation/xstore/xstore-builders/xstore-single-product-builder-with-elementor/.

    If you require our assistance, please provide us with your wp-admin and FTP access details in the private content section.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: EE Eric
    EE Eric
    Participant

    Yes I know I can to that, but I mean I want to disable option ALWAYS ACTIVE on this additional information and leave only “click to open”.

    Files is visible for topic creator and
    support staff only.
    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff

    Hi,

    Do you mean that you would like to have the first tab closed by default?

    Could you please provide temporary wp-admin access? We need to check your settings.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    Warm Regards,
    The 8Theme Team

    Avatar: EE Eric
    EE Eric
    Participant

    Yes, I Want first tab closed by default. Link in the private section.

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @EE Eric,

    You can either sort the tabs using the available settings: https://gyazo.com/883bcb3179a59659dc000f266c8832c0, or, to have the first tab closed, we have implemented a custom solution in your child-theme/functions.php file (https://prnt.sc/ahv9kKhrEnQT):

    add_action('wp_head', function() {
    	if ( !class_exists('WooCommerce') || !is_product() ) return;
    	?>
    	<script type="text/javascript">
    		jQuery(document).ready(function($) {
    			let tabs = $('.elementor-widget-woocommerce-product-etheme_tabs');
    			setTimeout(function() {
    				let first_tab = tabs.find('.et-woocommerce-tab').first();
    				$(first_tab).removeClass('active');
    				let data_name = $(first_tab).attr('aria-controls');
    				$(document).find('#'+data_name).hide();
    			}, 500);
    		});
    	</script>
    	<?php
    });

    The frontend result can be seen here: https://gyazo.com/a16867f1c1446466d69aacbdbbb23481.
    Please check it now.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: EE Eric
    EE Eric
    Participant

    Super! Works gerat, thanks for your help.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @EE Eric,

    We are glad to know that everything works great and that you are satisfied with our assistance.
    Thank you for your kind feedback!

    Best Regards,
    Jack Richardson
    8Theme’s Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register