Dokan Multivendor Marketplace has different shortcodes for users to create important pages immediately. So in this guide, we'll be discussing how easily you can use these shortcodes to enable your eCommerce site's workflow fast.
Dokan Tool Section
You can create pages automatically using the Install New Pages button from the Dokan Tools section. Below are the pages that will be installed,
- Dashboard ([dokan-dashboard])
- Store Listing ( [dokan-stores])
- My Orders ( [dokan-my-orders])
Please navigate to the WP-Admin → Dokan → Tools option. On this page you will get the below options :
- Page Installation
- Re-generate Order Table
- Check Duplicate Orders
Click on the install Dokan pages button then all the Dokan default pages like the dashboard, my-orders, etc will be installed. You do not have to create and set them manually from Dokan → Settings → Page Settings.
Here are the available shortcodes.
|Dashboard||Display vendor dashboard and all the elements for the vendor|
|Best Selling Products||Display 5 best selling products of vendors|
|Top Rated Products||Lists all the top-rated products|
|Custom Migration Form [Pro version only]||Creates Vendor Registration Form|
|Geo-Location Filter Form||[dokan-geolocation-filter-form]||Gives you easy navigation to find products through filtering products|
|Store List||[dokan-stores]||Lists all the stores available on the site on a single page|
|Store Category wise||[dokan-stores category=” clothing”]||You can easily list the stores based on store category|
|Store Order wise||[dokan-stores order=”ASC”]||Rearrange your orders in Ascending or Descending formations|
|Store Orderby wise||[dokan-stores orderby=”registered”]||Categorize the order based on the vendor registration date|
|Store_id wise||[dokan-stores store_id=”1, 2, 3″]||List the stores according to their store id|
|Featured Store wise||[dokan-stores featured=”yes”]||To show featured vendor|
|Show Store with Products||[dokan-stores with_products_only='yes']||This shortcode will show the stores that have products|
|My Orders||[dokan-my-orders]||Lists all the orders for the customer|
|Store List randomly||[dokan-stores orderby=”random”]||Display store list randomly|
How to Use Dokan Short Codes on an Online Store
Adding a short codes on a WordPress site is easier than ever. It only needs some easy steps to add a short code.
Yes, only by copying and pasting a suitable shortcode to a page or post, it will automatically create its respective elements on that page or post. For a better understanding, let's see how to use the Dokan shortcode on an online store.
- At first, Navigate to WP Dashboard → Pages → Add New Page. And then Give a title to your newly created page.
Now, click on the ‘+' button and find the Dokan logo above your text editor. After selecting it, it will display all available shortcodes described above.
Here are the shortcodes that will appear after you select Dokan short codes.
In this step, click on the shortcode that you want. You don't even have to remember or copy-paste the shortcodes. Just select the code and add it to the page. Here, we are creating the Vendor dashboard form. So, we will select ‘Dokan Customer Migration.
The shortcode will be placed automatically.
Finally, publish your page & check if it has created what you were looking for or not.
Please note that you can easily use the shortcodes in this similar way shown in this documentation.
Learn how to use multiple shortcodes here.