Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #363437

    I want to break the woocommerce-tabs into a separate section so that it falls below the images.
    Any help?

    #363925

    Hi jeremyO!

    Open up /enfold/config-woocommerce/config.php and change line 854 from this.

    add_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
    

    To this.

    add_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 20 );
    

    Best regards,
    Elliott

    #363979

    can i add this to the functions file in my child theme?

    #364322

    Hey!

    Try adding this to the bottom of your child themes functions.php file.

    add_action( 'init', 'enfold_customization_tab_position' );
    function enfold_customization_tab_position() {
    	remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
    	add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 20 );
    }

    Best regards,
    Elliott

    #364360

    Thanks worked like a charm.
    Appreciate the feedback

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce Product Page’ is closed to new replies.