Yeah, I dint see those fields there. I thought I must Add them from the option add field.
Now it works for 100%! Your are my hero!
And this means I can add unlimited fields, just make the modifications in your function.
Thanks for help!
Ok 1st I want to thank you for your effort.
How ever it is not working for me, maybe I do something wrong (I am not a PHP guru) although this is what I did:
1. I placed the above code into “functions.php”
2. you wrote: // visit >Setup Fields>Products to see these fields , and drag necessary fields to export
Maybe you wanted to mention :
// visit >Setup Fields>Product Items
Becasue in Prducts I dont see “alg_wc_pif_global”
This works incase we have just one field to export. But What if here is 4 fields to export
“alg_wc_pif_global_1” “alg_wc_pif_global_2” “alg_wc_pif_global_3” “alg_wc_pif_global_4”
?
at the moment the code exports just [0]value which is 1st value