Redirect after added new product

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!

Best Multi Vendor Marketplace Plugin for WordPress Forums WCFM Redirect after added new product

Viewing 3 reply threads
  • Author
    Posts
    • #32526
      ELdan
      Guest

      Hi ,
      How can i redirect to homepage or single product page after new product added with submit button?

    • #32536
      WCFM Forum
      Member

      Hi,

      Off course you can, use this filter for the purpose –

      apply_filters( 'wcfm_product_save_publish_redirect', get_wcfm_edit_product_url( $new_product_id ), $new_product_id );

      Thank You

    • #32564
      ELdan
      Guest

      Thank you very much , it works.

      I have one more question , in the publish product form in section attributes under “Values” i have one field that didnt have some function or work something.How can i delete or hide this field?(This is link from screenshot of this problem https://ibb.co/dfPjSU )

    • #32678
      WCFM Forum
      Member

      HI,

      That’s a strange field, actually there is nothing like that.

      I think it’s due to some CSS issue from your theme.

      Can you share a demo vendor access of your site with me to take a look at it?

      Thank You

Viewing 3 reply threads
  • The topic ‘Redirect after added new product’ is closed to new replies.