Dokan School Search Autocomplete
vidyacart.com Dokan School Search Autocomplete is a custom WordPress function created specifically for Dokan Multivendor websites. It adds a fast, lightweight autocomplete search bar that helps users search for schools (vendors) by their store name, and instantly redirect to the vendor’s store page, you can use it with shortcode .
by Arun · github.com/arunkashyap29/multi_vendor_searchbar · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/arunkashyap29/multi_vendor_searchbar/archive/refs/heads/main.zip🏫 WordPress Dokan – School Search Autocomplete (Vendor Search)
This repository contains a custom WordPress PHP function + shortcode that adds an autocomplete search bar to search schools (vendors) on a Dokan Multivendor website.
When a user starts typing a school name, suggestions automatically appear, and on selection the user is redirected to the vendor’s store page.
🚀 Features
- 🔍 School (Vendor) autocomplete search
- ⚡ Fast AJAX-based search
- 🏪 Auto-redirect to vendor store page
- 🧩 Easy to use with a shortcode
- 🆓 Fully works with Dokan Free Plugin
- 🏗 Simple integration in any page or section
🔧 How It Works (Explanation)
Ye function WordPress me ek custom AJAX-based search system banata hai jisse vendors ko School Name ke roop me search kiya ja sakta hai.
Step-by-Step Working
- User search bar me school ka naam type karta hai
- Autocomplete AJAX request backend me jata hai
- Backend vendor store names me matching results dhoondta hai
- Suggestions dropdown me show hote hain
- User ek school select karta hai
- User ko automatically us vendor ke store page par redirect kar diya jata hai
📦 Installation
-
Code ko apni theme ke
functions.php(child theme recommended)
me paste karein -
Shortcode add karein: [dokan_school_search]
-
Done ✔
https://vidyacart.com/
🛠 Requirements
- WordPress
- Dokan Multivendor (Free)
- WooCommerce
- Active vendors with store names
📞 Author
Arun – WordPress Developer
Skilled in WordPress, Shopify, HTML, CSS, JS, and custom plugin/theme development.
📄 License
This project is open-source. You may modify and use it freely in your own projects.