Home Forums General Pre-Purchase Questions Dokan Customizations with Frontend Plugin

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  aldus aldus 3 years, 9 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #53806

    Peng Xiong
    Member

    Hi, I'm looking to purchase Dokan and am very interested however I want to know if Dokan can be integrated with the Frontend plugin that you guys have available.

    We are trying to develop a website similar to Redbubble and DesignbyHumans where people have their own profiles and sellers can upload designs into products and publish them.

    However, we also need it customized so that only the WEBSITE does the fulfilling (printing the shirts), the sellers just take a small commission each time the shirts sell.

    #53924

    Nayem
    Moderator
    Post count: 6480

    Hello,

    In Dokan plugin seller will get their own dashboard and store page. They can sell product through his dashboard. If you want to customize Dokan then you can do it. In dokan you can set commission for the seller. Admin will get commission from a seller for his every order. But if you are looking for something different then you have to customize our plguin.

    Thanks.

    #55957

    aldus aldus
    Member
    Post count: 4

    If the login at the dokan Going into my account page when you log in there a way to be able to go to the main website ?

    #55993

    Nayem
    Moderator
    Post count: 6480

    You can use this code-

    add_filter( 'woocommerce_login_redirect', 'ckc_login_redirect', 10, 2 );
    
    function ckc_login_redirect( $redirect_url, $user ) {
        // Change this to the url to Updates page
    
        if( $user->roles[0] == 'seller' ) {
            return dokan_get_navigation_url(‘dashboard’);   
        }
    
    return $redirect_url;
    }

    NB: You can change the user role seller or customer. You can also change the page URL dashboard to another page.

    Thanks.

    #56099

    aldus aldus
    Member
    Post count: 4

    Do I have to insert the code in any php file ?

    #56109

    aldus aldus
    Member
    Post count: 4

    Do resolved!
    very very thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Dokan Customizations with Frontend Plugin’ is closed to new replies.