Okay
  Public Ticket #3010103
move "additional information" tab under add to cart
Closed

Comments

  •  28
    Co-Brains started the conversation

    Hi! in single product page I'd like to move the "additional information" tab under add to cart button.

    I've already achieved that with php code:

     // Remove additional information tab
    add_filter( 'woocommerce_product_tabs', 'remove_additional_information_tab', 100, 1 );
    function remove_additional_information_tab( $tabs ) {
        unset($tabs['additional_information']);

        return $tabs;
    }

    // Add "additional information" after add to cart
    add_action( 'woocommerce_single_product_summary', 'additional_info_under_product_meta', 45 );
    function additional_info_under_product_meta() {
        global $product;

        if ( $product && ( $product->has_attributes() || apply_filters( 'wc_product_enable_dimensions_display', $product->has_weight() || $product->has_dimensions() ) ) ) {
            wc_display_product_attributes( $product );
        }
    }

    But, as you can see, it doesn't work anymore (the "informazioni aggiuntive" tab is now under page content). 

    Can you please tell me what doesn't work fine? what could be changed? I didn't edit the php code at all

    Thank you

  •  8,839
    Tahir replied

    Hey Again,

    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.

    Thanks 


    ThemeNectar Support Team 

  •   Co-Brains replied privately
  •  8,839
    Tahir replied

    Thanks for the login, Escalating this to the developer for further response.

    Best


    ThemeNectar Support Team