WPC Product Bundles: Include column with parent product


please, don’t delete column _woosb_parent_id
just open section “Misc Settings” and add this code

add_filter( 'woe_fetch_order_product', function($row, $order, $item, $product, $item_meta ){
  if($row['_woosb_parent_id']) {
    $product = wc_get_product($row['_woosb_parent_id']);
    $row['_woosb_parent_id'] = $product ? $product->get_sku() : "";
  return $row;

Worked perfectly!
Thank you very much!


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here