New Landing How can we help? Atelier Change Tab order on single product page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #231716
    a040005
    Member
    Post count: 48

    I’d like to change Single Product Page Tabs order.
    Currently Description Tab is showing to customers first by default.
    But I want the Additional Information Tab to be displayed by default to customers.
    How can I switch Tab Order or set Default showing tab?

    Attachments:
    You must be logged in to view attached files.
    #232103
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please add this to your child theme’s functions.php file. Woo Docs Ref: https://docs.woothemes.com/document/editing-product-data-tabs/

    add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
    function woo_reorder_tabs( $tabs ) {
    	$tabs['additional_information']['priority'] = 5;	
    	$tabs['description']['priority'] = 10;			
    	$tabs['reviews']['priority'] = 15;			
    	return $tabs;
    }

    Thanks.

    #233810
    a040005
    Member
    Post count: 48

    Thank you!
    It works. 🙂

    #233827
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Great thanks to David.
    Mohammad

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register