The problem i’m facing is:
Scence 1:
+ Not login, basic upload
+ Leave “First name” field of WooCommerce blank
+ Press checkout, the file you choosed will be uploaded.
Scence 2:
+ Not login, basic upload
+ Fill all fields of WooCommerce
+ Press checkout, no file uploaded. You will be redirected to Order received page
===========
So I think that Scence 2 not working because it’s lacking of some function or a properly action/hook.
It would be great if I can debug and see what’s missing but I can’t enable for not-logged-in user.
Thank you
I have added the fields to the checkout page successfully; now I’m making it save data to Order detail, everything works file but for upload fields.
It works perfectly for the logged-in user, but for not the logged-in user, it shows the basic upload file selector, when it POST and save to order detail, I only can see the path of the file is C://fakepath/filename.
Do you know why it’s happening?
You can take a look at demo here: http://demo.catsplugins.com/acf-for-woocommerce/?add-to-cart=13