YITH WooCommerce Product Add-ons & Extra Options Not Showing In Export Order

[ad_1]

For whom having same problem with field “Product variation” — you must add this code to section “Misc Settings”

add_filter('woe_get_order_product_value_product_variation', function ($value, $order, $item, $product,$item_meta) {
$data = $item->get_meta("_ywapo_meta_data");
if(!is_array($data)) return $value;
$yith_meta = array();
foreach($data as $opt_group)
foreach($opt_group as $opt)
$yith_meta[] = $opt['display_label'] . ':' . $opt['display_value'];
$value .= " | " . implode(" | ", $yith_meta);
return $value;
}, 10, 5);

 

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.

Buy WordPress Transfer