Shortcodes
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.
But first of all, let us introduce the available shortcodes.
Name | Shortcode | Description |
Dashboard | [dokan-dashboard] |
Display vendor dashboard and all the elements for the vendor |
Store List | [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 |
Custom Migration Form [Pro version only] | [dokan-customer-migration] |
Creates Vendor Registration Form |
Geo Location Filter Form | [dokan-geolocation-filter-form] | Gives you easy navigation to find products through filtering products |
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.
That’s it!