6. Installed Pages

Dokan Shortcodes

Dokan Multivendor Marketplace has several shortcodes that help you create important pages on the go.

Following are available shortcodes.

Name Shortcode Description
Dashboard [dokan-dashboard] Display vendor dashboard and all the elements for the vendor.
Store Listing [dokan-stores] Lists all the stores available on the site on a single page.
My Orders [dokan-my-orders] Lists all the orders for the customer.
Best Selling Products [dokan-best-selling-product no_of_product="5" seller_id="" ] Display 5 best selling products of vendors.
Top Rated Products [dokan-top-rated-product] Lists all the top rated products.

Instructions

You need to copy and paste suitable shortcode to a page or post. It will automatically create its respective elements on that page or post.

Here is how to use Dokan Customer Migration to Vendor.

Navigate to Dashboard>Pages>Add New Page and give a title to your newly created page.

Choose the shortcode of a page that you want to create, copy and paste that shortcode from the list of available shortcodes described above.

 

Finally, publish your page and check it out.

 

Page List with Shortcodes

Dokan installs 3 pages with shortcodes from the list above.

Name Shortcode Description
Dashboard [dokan-dashboard] Display vendor dashboard and all the elements for the vendor.
Store Listing [dokan-stores] Lists all the stores available on the site on a single page.
My Orders [dokan-my-orders] Lists all the orders for the customer.
Terms and Conditions N/A Adds a link on the signup page.

 

These pages have to be assigned in Dokan settings. So make sure to select the pages on wp-admin → Dokan → Settings → Page Settings

Common Mistakes

Duplicate Pages: Dokan has a built in tool to install required pages with shortcodes. If you already have the required pages and click on the “Install Pages” button, then the same pages will be created as a duplicate. You will not need them. So If you ever see duplicate pages, please delete them.

Page URL: If you have duplicate pages and clear that later, then any of your pages might have a URL like yoursite.com/dashboard-3 or seller-listing-2

If you want to avoid that, you have to edit that page and correct the URL. If the duplicate page is still in the trash, then you will not be able to edit the page URL. You have to permanently delete the duplicate pages before editing the URL

 

Those are basic Dokan configurations, if you want to have a more detailed look, check out Dokan’s documentation here.