• [ Moderator note: Title updated. Please chose topic titles that describe your problem. ]

    Hi.

    So, after an extensive research, I am here asking for community help.

    I am building a site where user can post products from the frontend.

    I have used “Dokan”, “WP user frontend”, ” WP-TYPES.”

    They all successfully create a product post when a submit button is pressed.
    (the product page is created).

    Now, here is the problem that I could not figure out.

    The newly created product is not shown in the category page. The only way for the product to be seen is when the product is “updated” from the backend.

    I noticed that “total_sale” field is not automatically generated when the product is produced from the frontend and must be updated in order to get this field.

    Has anyone experience with this issue? Any suggestion to the way around it?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Do you want your user’s to sell their own products? If so, I guess it would be better to just use a plugin for this and then just focus on customizing the WP backend. Check out https://www.woothemes.com/products/product-vendors/

    If you really want to push through with that, I suggest looking at the WC_Post_Class to learn how WooCommerce handles inserting data. You can check it out at \woocommerce\includes\class-wc-post-data.php

    Hope this help!

Viewing 1 replies (of 1 total)
  • The topic ‘Allow user to add product from frontend problem’ is closed to new replies.