Disabling shop vendor not removing products from shop

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Disabling shop vendor not removing products from shop

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #88873
      Jamie O’Reilly
      Participant

      Hi

      We have disabled a shop vendor but we found that their products were still visible and even a purchase was made. We’ve now deleted the product as well in order to prevent any more such problems. Please could you advise?

      Jamie

    • #90833
      WCFM Forum
      Member

      HI,

      Well, when a vendor’s store disabled it’s product become “archived”.

      As Admin you may see those, but as other user it’s not visible.

      Thank You

    • #105180
      Jamie O’Reilly
      Participant

      We have deleted the products but her membership is still showing as using 47MB of memory. Is this accurate?
      Thank you

    • #105204
      Jamie O’Reilly
      Participant

      Also is there a way to delete a shop rather than disable it?

    • #105670
      WCFM Forum
      Member

      Hi,

      Well, deleting vendor store means deleting that vendor user, you may off course do so.

      It’s also possible to restrict accessing vendor’s store page by adding such code –

      add_action('template_redirect', function( $template ) {
      	if( function_exists( 'wcfmmp_is_store_page' ) && wcfmmp_is_store_page() ) {
      		wp_safe_redirect( get_permalink( wc_get_page_id( 'shop' ) ) );
      	}
      	return $template;
      }, 100 );

      This will always redirect to WooCommerce default shop page.

      Thank You

Viewing 4 reply threads
  • The topic ‘Disabling shop vendor not removing products from shop’ is closed to new replies.