• Resolved Rohit Ambeldkar

    (@ambeldkar)


    Hello,
    I want a solution for my site for the product management
    When a vendor adds a new product the same is sent to review to admin, admin accepts it and product is published. But now when the product gets edited by vendor I need to show the old details in the fronted site but give the new details for review to admin. When admin accepts the new changes then only the changes are shown for the product.
    Please help on this functional part where I can show the old details in fronted site without hiding the product when vendor edits the product.

    Thanks

Viewing 1 replies (of 1 total)
  • @ambeldkar Thanks for getting in touch with us.

    The default flow of WC Marketplace the vendor can modify the product details automatically. Now, as you also need approval for modifying the product details also, you have to do an extensive level of coding for the same.

    Please note every information of a product gets stored in its post (wp_post table) and its meta (wp_postmeta table). Now, as you want to approve all the changes once a product is published, in that case, you have to create new meta, where the new information will get stored.

    Now, when admin will approve this, the new meta should be merged with product’s actual meta so that customer can see the changes at the single product page.

    Let us know if you have any further query.

Viewing 1 replies (of 1 total)

The topic ‘Vendor Edit Product’ is closed to new replies.