Home Forums WC Vendors Pro Support Send user to custom page after they click 'Apply to become a vendor' button

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #70095
    Clive Strydom
    Participant

    Hi,

    When the user clicks on ‘Apply to become a vendor’ button it takes them to the Pro Dashboard. I would like to route them to a custom page that gives them a little bit of info on to set everything up.

    Is this possible?

    Kind regards,

    Clive

    #70157
    Anna
    Member

    @clivestrydom
    Hello Clive,
    (this is actually relevant to your other forum post here as well: https://www.wcvendors.com/help/topic/add-product-to-be-displayed-in-tab/)
    I’m working on a filter for this but so far it has not worked properly.. if you see this file:
    plugins/wc-vendors-pro/public/class-wcvendors-pro-vendor-controller.php
    line 871:

    				wp_safe_redirect( apply_filters( 'wcv_register_vendor_url', get_permalink( $dashboard_page_id ) ) ); 
    
    

    It would be that redirect that would need to be changed. The $dashboard_page_id is defined as $dashboard_page_id = WCVendors_Pro::get_option( 'dashboard_page_id' ); and you would need it to point instead to your URL.

    A workaround option: perhaps you could add a notice to the vendor dashboard with a link to your Get Started page? Wp admin > WooCommerce > WC Vendors > Pro: Vendor Dashboard Notice
    You could add a message there with links to your tutorials…
    I’ll see if I can get that redirect working, but so far my filter is not doing anything, so I likely need to alter it in another fashion so that it is update safe. Otherwise it’d need to be changed within the core code by defining the $dashboard_page_id as the URL on your site where you have the get started tutorial.

    #70240
    Clive Strydom
    Participant

    Hi Anna,

    Thanks! That hack worked well, just created a new $ and pointed it to the getting started tabbed page.

    Would you know the page/post ID of the /dashboard/product/edit/ & the /dashboard/settings/ ‘Bank Details’ tab

    Once I have this I ‘should’ be able to display the relevant info in the tabbed step-by-step setup guide that will hopefully get customers up and running with posting their first item to sell.

    I have attached images.

    Thanks again.

    Clive

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.