Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15778

    Hi, how can I swap the tabs on the product page so that reviews shows up first?

    Thanks,

    #88972

    Open up plugins/woocommerce/hooks and search for following code:

    add_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10 );
    add_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 20 );
    add_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30 );

    Replace it with:

    add_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 20 );
    add_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 30 );
    add_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 10 );

    #88973

    Perfect! Thank you!

    #88974

    Hi summerrane,

    Glad that Peter helped you. :)

    Cheers,

    Ismael

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

The topic ‘Swap review and additional information tabs’ is closed to new replies.