Documentation

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 ) {
        return;
    }

    if( $product !== "bundle" ) {
        return;
    }

    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.

Are you using WooCommerce Bundled Products yet?

Start your 14-day free trial right now and get instant access to the features described in this article.

or learn more

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.

WooCommerce Bundled Products by Iconic

WooCommerce Bundled Products

Not got the plugin yet? Get instant access right now, free for 14 days.

or learn more

Still need help?

If you haven't found what you're looking for in our documentation, please contact support.

Get Support