Home Forums Theme Support Dokan A few questions/issues w/ Dokan…

This topic is: resolved

This topic contains 6 replies, has 3 voices, and was last updated by  Sekander Badsha 4 years, 11 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #22564

    Kevin
    Member
    Post count: 46

    Hey There, Switched from the IgniteWoo Vendor plugin and loving everything so far! I am trying to compile the majority of my questions/issues into one email.

    Here they are:

    When user signs up as seller it redirects them to the standard user/customer page… is there a way to redirect them to the Dashboard and show a custom message directed at sellers at the top?

    I also want to hide all of the social fields, phone, address, etc from the seller registration as well as their profile. Can you point me in the right direction there?

    It says the seller will receive an email when an order is created? I'm assuming this also has the customers identifiable information in it. Can you tell me where to make these edits to that email?

    We want to remove customer email, phone, address (any identifiable information other than their name) from the orders section as well. Can you point me to the correct files and how to do this?

    I previously had “Vendor” from IgniteWoo installed and am wondering if all these user types “Vendor, Pending Vendor & Store Manager” are from that plugin? Please let me know so I can remove the ones that are not essential.

    Also, on mobile (Android, Note 3) the sidebar in the dashboard (Orders, coupons, reports, etc.) stays super long and makes it so people on mobile have to scroll down… and down… and down to get to the content. Basically very few people would ever find anything below it. It did work on the Reviews & Withdraw menu items though.

    I also posted some issues related to WPFUP here http://wedevs.com/support/topic/a-few-issues-and-a-few-questions/#post-22563 , but some of them relate to Dokan as well. Here is the main one.

    I am using WPFUP to submit digital products (because it will hopefully be more user friendly), but when you go to the Dokan product page and try to edit a product I was getting the following message – “I don't know how to edit this post, I don't have the form ID”. Now I've installed the WooCommerce Wishlist plugin and now when you click edit on a product it takes you to the wishlist screen? Crazy!

    We've already designed the theme for the site so, is the best way to do this to create a child theme or just override the current template?

    Thank you for your help!
    Kevin

    #22565

    Kevin
    Member
    Post count: 46
    This reply has been marked as private.
    #22608

    Sekander Badsha
    Member
    Post count: 2067

    Okay. I’m going to reply you point by point.

    1. Remove All Social Info, Phone, Address: To do that, you’ll have to go ‘wp-content\themes\dokan\classes\admin-user-profile.php’ and comment out from line no 84 to 131.
    2. Edit the mail template: the mail which is sent on order creation is done by WooCommerce, to customize the template, you may see their official documentation here: http://docs.woothemes.com/document/email-faq/
    3. Remove User Roles: firstly, you need to shift the users to another role, so that they won’t lose their permissions on your site. And then you can use WordPress’s remove_role() function. You can read more about this function here http://codex.wordpress.org/Function_Reference/remove_role
      To use this function, you can make a child theme. Use this function in the functions.php. Activate the theme once and deactivating it should work.
    4. Mobile Menu: Notified the team. Should get fixed in next update. (We try our best to update once in month. Son don’t worry)
    5. Product Edit Issue: this is happening because WP User Front End Pro is not getting the form ID. And to fix that, I’ve mentioned the documentation link on your other post.
    6. Hope this helps. And don't hesitate to comeback and post again.

    #22817

    Kevin
    Member
    Post count: 46

    1. Commenting out those lines makes sense, but doing so does not remove the options from the dashboard settings page.

    #22853

    Sk
    Moderator
    Post count: 371

    Hello Kevin,

    Please navigate to dokan/classes/template-settings.php and comment out line 245 to 294.

    Thank you.

    #23200

    Kevin
    Member
    Post count: 46

    1. Hiding fields in the Dashboard Orders Page: In that same vein, what file do I need to edit to remove this personal info from this page (Dashboard Orders Page) — specifically, I need to remove the fields highlighted here:

    I figured it would be a file like template-orders.php but that does not exist.


    2. Direct to Dashboard on Login

    • When user signs up as seller it redirects them to the standard user/customer page… is there a way to redirect them to the Dashboard
    • And if so, can we customize that initial dashboard landing page with a message?

    Thank you very much for your help on these issues!

    #23293

    Sekander Badsha
    Member
    Post count: 2067

    Hello Kevin,

    1. Please navigate to dokan/templaes/orders/order-details.php comment out line 108-124 and 189-200

    2. Open theme-functions.php which is located at “wp-content\themes\dokan\includes\” go to line 94 and you'll see something like wp_redirect( dokan_get_page_url( 'myaccount', 'woocommerce' ) ); replace my account by dashboard.

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

The topic ‘A few questions/issues w/ Dokan…’ is closed to new replies.