file_list data not stored when WooCommerce HPOS active
-
Sorry to bother again. This is possibly related to my recent support thread about HPOS, in another bit of code I am using
file_listfield type. It displays and works fine but does not appear to save the values.I am using CMB2 develop (downloaded yesterday, 13 Sept) and the CMB2 WooCommerce HPOS Orders add-on.
Screenshot before saving, showing 2 image files (from media library) selected. And the tracking number field below has been updated.
Screenshot after save – no images, but tracking number change saved.
Blog post about the code: https://www.damiencarbery.com/2021/05/attach-files-to-woocommerce-order-email/
Any thoughts?
The topic ‘file_list data not stored when WooCommerce HPOS active’ is closed to new replies.