Export SKU without variations and attributes

[ad_1]

Yes. Use section >Setup Fields>Products

Thread Starter
cigaai

(@cigaai)

Although I selected that field, what comes up for me is the SKU including the variations and attributes as you can see here: and here:

please, edit order and share the screenshot of section “Items”

try export field “SKU (parent)”

Thread Starter
cigaai

(@cigaai)

I had already tried with the “SKU Parent” field, but the result is not what I want. I just want the SKU of the main product. Here is a screenshot:

please, go to >WooCommerce>All Orders, edit the order and share the screenshot of section “Items”

Thread Starter
cigaai

(@cigaai)

Here is the screenshot:

please, use field “SKU”, but add following code to section “Misc Settings”

add_filter('woe_get_order_product_value_sku', function ($value, $order, $item, $product,$item_meta) {
list($value) = explode(" ",$value);
return $value;
}, 10, 5);

Thread Starter
cigaai

(@cigaai)

Perfect! Thank you very much for your help.

 

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