How to move the bundled products

By default the bundled products will show after the main image and product summary. You may want to move the bundled products up into the summary area, and fortunately, this is easy to do!

Just add the following snippet to your theme's functions.php file:

 * Move the bundled products.
function iconic_move_bundled_products() {
    global $iconic_woo_bundled_products, $product;

    if( ! $product ) {

    if( $product !== "bundle" ) {

    remove_action( 'woocommerce_after_single_product_summary', array( $iconic_woo_bundled_products, 'output_bundled_products' ), 5 );
    add_action( 'woocommerce_single_product_summary', array( $iconic_woo_bundled_products, 'output_bundled_products' ), 25 );

add_action( 'wp', 'iconic_move_bundled_products', 10 );

This will add the bundled products just after the product description.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.