Submit Product Redirect To New Tab

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 Submit Product Redirect To New Tab

Viewing 3 reply threads
  • Author
    Posts
    • #17544
      agoenui
      Participant

      Hellow,

      I found that if vendor submit new product with auto approval. It will redirect to the product after click the submit button

      I feel it little bit extra effort for navigation to go back to the wcfm dashboard. I need help that can we make the product appear in the new tab so we as vendor still in our dashboard? thank you

    • #17546
      WCFM Forum
      Keymaster

      Hi,

      I understand your concern.

      Kindly add this code to your child theme’s functions.php –

      function wcfm_custom_product_save_redirect( $redirect_url, $new_product_id ) {
      	$redirect_url = get_wcfm_edit_product_url( $new_product_id );
      	return $redirect_url;
      }
      add_filter( 'wcfm_product_save_publish_redirect', 'wcfm_custom_product_save_redirect', 50, 2 );

      Please know me is this resolve your issue or not!

      Thank You
      Simha

    • #17552
      agoenui
      Participant

      Thank you

      It works very smooth and we get better navigation now. Thanks

      🙂

    • #17555
      WCFM Forum
      Keymaster

      Welcome 🙂

Viewing 3 reply threads
  • The topic ‘Submit Product Redirect To New Tab’ is closed to new replies.