Support » Plugin: WP Frontend Delete Account » Delete products

  • mark0sb

    (@mark0sb)


    Hello,

    I use this plugin for some weeks, on a multivendor marketplace website, and it runs well if the user is a customer.
    If the user is a vendor (I use the WCFM plugin), his products are not deleted. On the plugin settings, I choose to reassign the content to “None”, but I’d like the content could be deleted, as the user is deleted.
    Could I add some code on my theme’s functions.php file to do that ?
    Could I hope this feature in a future version of the plugin ?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sanjeev Aryal

    (@sanzeeb3)

    Hi @mark0sb

    WooCommerce products created by user should be deleted by default if the user is deleted and reassigned to none.

    WooCommerce products are the posts with products post type. If the products are not deleted, what displays on the author of the product?

    Thread Starter mark0sb

    (@mark0sb)

    Well, the new author of the products is “-” (on the admin dashboard). On the shop page, the other products have a line “Sold by XXX”. If the user delete his account, his products have not this line.

    Plugin Author Sanjeev Aryal

    (@sanzeeb3)

    Hi @mark0sb,

    Thanks for sharing the details! I’ll look for any possibilities and get back to you. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.