I enabled the post type of "Products" (I am using WooCommerce) so that the form can allow for users to upload items into the overall store, but when I upload a file using [fu-upload-form post_type="product"], when I check the UGC under products, no file exists, but the file is under the UGC under the media settings tab.
How do I get the uploaded files to show up under the correct post type? Currently, the post_type that is saved in the DB is attachment.
You need to modify your shortcode to be either
[fu-upload-form form_layout="post" post_type="product"]
or
[fu-upload-form form_layout="post_media" post_type="product"]
I enabled the post type of "Products" (I am using WooCommerce) so that the form can allow for users to upload items into the overall store, but when I upload a file using [fu-upload-form post_type="product"], when I check the UGC under products, no file exists, but the file is under the UGC under the media settings tab.
How do I get the uploaded files to show up under the correct post type? Currently, the
post_type
that is saved in the DB is attachment.