- Posts: 52
- Thank you received: 0
how to prevent duplicate vendor name?
9 years 6 months ago #264975
by jafar007
how to prevent duplicate vendor name? was created by jafar007
-- 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?
-- 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 or Create an account to join the conversation.
9 years 6 months ago #264979
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic how to prevent duplicate vendor name?
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
Regards,
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
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #265924
by jafar007
Replied by jafar007 on topic how to prevent duplicate vendor name?
i can use this functions in ajax mode? it means that when user type vendor name automatically check vendor name.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #265925
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic how to prevent duplicate vendor name?
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,
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 & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.164 seconds