Products from Frontend form not appearing

This topic contains 6 reply and 3 voices, and was last updated by hpidriver 10 years, 10 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
June 25, 2013 at 8:12 am 5201
hpidriver I am trying to make a front end form for users to submit products. Users can submit products through the form, however the products do not appear anywhere in my WooCommerce Shop pages, only if you use the direct link. They do however appear as products in my wp-admin. Any thoughts? Thank you
June 25, 2013 at 8:17 am 5202
Mahi Mahi

Please check this and this tutorial first.

After that if you are having any issue let us know.

June 25, 2013 at 8:34 am 5203
hpidriver hpidriver

Yes I originally followed those tutorials

June 25, 2013 at 10:55 am 5209
Tareq Hasan Tareq Hasan

Add a hidden custom field _visibility and the value should be visible.

June 27, 2013 at 8:02 am 5312
hpidriver hpidriver

Could you let me know what the custom field is for setting the stock/inventory quantity for an item? Thank you

June 27, 2013 at 2:17 pm 5326
Tareq Hasan Tareq Hasan

That would be _stock and _manage_stock for managing the stock with a yes/no value.

June 28, 2013 at 11:05 pm 5400
hpidriver hpidriver

Tareq, thank you for your superb support! Functionally, everything works perfectly. I have one issue, the hidden custom field is displaying the meta value in the post body. For example if I have on my form
meta key: _visibility
meta value: visible

A post made using this form will display:
:visible

Should this all be hidden?

Viewing 6 Posts - 1 through 6 (of 6 total)