[Skip to main content](#vessel-content)

#   how to prevent duplicate vendor name?

##

- **[jafar007](/forum/user/41155-jafar007 "View jafar007's Profile")**
- [![jafar007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41155-jafar007 "View jafar007's Profile") Topic Author
- [ Offline](/forum/user/41155-jafar007)

Less More

- Posts: 52
- Thank you received: 0
-
-

9 years 7 months ago [\#264975](#264975) by [jafar007](/forum/user/41155-jafar007 "View jafar007's Profile")  *[how to prevent duplicate vendor name?](/forum/23-market-how-to/889346-how-to-prevent-duplicate-vendor-name#264975 "-- HikaShop version -- : 3.0.1 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  hi how to check vendors name when user change vendor name or create a vendor account. like user registration . if hikamarket don't have this option, which file must change to have it. (with ajax) . must change some code in hikashop or not?")* was created by *[jafar007](/forum/user/41155-jafar007 "View jafar007's Profile")*

-- HikaShop version -- : 3.0.1
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6

hi
how to check vendors name when user change vendor name or create a vendor account. like user registration .
if hikamarket don't have this option, which file must change to have it. (with ajax) . must change some code in hikashop or not?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg5MzQ2LWhvdy10by1wcmV2ZW50LWR1cGxpY2F0ZS12ZW5kb3ItbmFtZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 7 months ago [\#264979](#264979) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to prevent duplicate vendor name?](/forum/23-market-how-to/889346-how-to-prevent-duplicate-vendor-name#264979 "-- HikaShop version -- : 3.0.1 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  hi how to check vendors name when user change vendor name or create a vendor account. like user registration . if hikamarket don't have this option, which file must change to have it. (with ajax) . must change some code in hikashop or not?")*

Hello,

If you want to control and filter the vendor name ; you'll need a custom plugin with the usage of the triggers "onBeforeVendorCreate" / "onBeforeVendorUpdate" so you can refuse the creation (or modification) of the vendor if the vendor name is already used by another.
[ www.hikashop.com/support/documentation/1...onBeforeVendorCreate](https://www.hikashop.com/support/documentation/163-hikamarket-developer.html#onBeforeVendorCreate)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg5MzQ2LWhvdy10by1wcmV2ZW50LWR1cGxpY2F0ZS12ZW5kb3ItbmFtZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jafar007](/forum/user/41155-jafar007 "View jafar007's Profile")**
- [![jafar007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41155-jafar007 "View jafar007's Profile") Topic Author
- [ Offline](/forum/user/41155-jafar007)

Less More

- Posts: 52
- Thank you received: 0
-
-

9 years 6 months ago [\#265924](#265924) by [jafar007](/forum/user/41155-jafar007 "View jafar007's Profile")  Replied by *[jafar007](/forum/user/41155-jafar007 "View jafar007's Profile")* on topic *[how to prevent duplicate vendor name?](/forum/23-market-how-to/889346-how-to-prevent-duplicate-vendor-name#265924 "-- HikaShop version -- : 3.0.1 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  hi how to check vendors name when user change vendor name or create a vendor account. like user registration . if hikamarket don't have this option, which file must change to have it. (with ajax) . must change some code in hikashop or not?")*

i can use this functions in ajax mode? it means that when user type vendor name automatically check vendor name.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg5MzQ2LWhvdy10by1wcmV2ZW50LWR1cGxpY2F0ZS12ZW5kb3ItbmFtZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#265925](#265925) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to prevent duplicate vendor name?](/forum/23-market-how-to/889346-how-to-prevent-duplicate-vendor-name#265925 "-- HikaShop version -- : 3.0.1 -- HikaMarket version -- : 1.7.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6  hi how to check vendors name when user change vendor name or create a vendor account. like user registration . if hikamarket don't have this option, which file must change to have it. (with ajax) . must change some code in hikashop or not?")*

Hello,

There is no ajax in the HikaMarket registration ; so what you want to implement is a complete new feature with some javascript and a function which will allow to check if a vendor name is available or not.
For sure with some development it is possible, but it will require more work than just using the trigger (and the usage of that trigger will be required either way).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg5MzQ2LWhvdy10by1wcmV2ZW50LWR1cGxpY2F0ZS12ZW5kb3ItbmFtZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.231 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
