/** * Adds the 'bundled_product' container div. * * @param WC_Bundled_Item $bundled_item * @param WC_Product_Bundle $bundle * @return void */ function wc_bundles_bundled_item_details_wrapper_open($bundled_item, $bundle) { ?> <div class="bundled_product bundled_product_summary product <?php echo $bundled_item->get_classes(); ?> " style="<?php echo !$bundled_item->is_visible() ? 'display:none;' : ''; ?> " ><?php }