Essential Shortcodes Included with Dokan for Your WooCommerce Marketplace
Dokan is a leading multi-vendor marketplace plugin for WooCommerce that allows you to easily build and manage a marketplace where multiple vendors can sell their products. The plugin provides a variety of shortcodes to enhance your marketplace experience by displaying various elements and functionalities on your marketplace pages. Below are some of the essential shortcodes provided by Dokan to get the most out of your marketplace:
1. Store Listing Shortcode
[dokan-stores]: Displays a list of all the stores/vendors on your marketplace, making it easy for customers to browse different shops.
2. Store Page Shortcode
[dokan-store]: Displays the store page of a single vendor along with their products, enabling customers to view the complete store offerings.
3. Store Category Wise Product Listing Shortcode
[dokan-product-cat]: Displays products from a specific category of a vendor’s store, helping customers easily navigate through the products they are interested in.
4. Vendor Dashboard Shortcodes
- [dokan-dashboard]: Displays the vendor dashboard where vendors can manage their orders, products, and settings.
- [dokan-edit-account]: Displays the page for vendors to edit their account settings.
- [dokan-orders]: Displays the orders page for vendors, where they can view and manage customer orders.
- [dokan-products]: Displays the page for vendors to manage their products.
- [dokan-add-product]: Displays a form where vendors can add new products to their store.
5. Vendor Registration Shortcode
[dokan-vendor-registration]: Displays the vendor registration form where new vendors can sign up to start selling on your marketplace.
6. Store Settings Shortcode
[dokan-store-settings]: Displays the settings page for the vendor/store to manage their store details.
7. Store Location Shortcode
[dokan-store-location]: Displays a map showing the location of the vendor’s store to help customers find them more easily.
8. Store Support Shortcode
[dokan-store-support]: Displays a contact form where customers can get in touch with the vendor for support or inquiries.
9. Store Support Topics Shortcode
[dokan-support-topics]: Displays a list of support topics, allowing customers to find solutions to common issues or submit a ticket.
10. Store Reviews Shortcode
[dokan-store-reviews]: Displays the reviews left by customers for a particular vendor/store.
11. Vendor’s Published Product Listing Shortcode
[dokan-best-selling-product]: Displays the best-selling products of a vendor, helping highlight the most popular items.
12. Vendor’s Featured Product Listing Shortcode
[dokan-featured-product]: Displays a list of the featured products from a vendor’s store, giving prominence to selected items.
13. Vendor’s On Sale Product Listing Shortcode
[dokan-on-sale-product]: Displays a list of products currently on sale from a vendor, attracting customers looking for discounts.
How to Use These Shortcodes
You can add these shortcodes to any WordPress page or post to display various elements and functionalities of your Dokan multi-vendor marketplace. Whether you’re showcasing individual vendor pages, listing products by category, or setting up vendor dashboards, these shortcodes provide the flexibility to customize your marketplace as needed.
For More Information
To learn more about how to use these shortcodes and their customization options, you can refer to the official Dokan documentation or the Dokan GitHub repository for more resources and developer guides.
External Links
Here are some useful external links for further reading and tutorials: