[SOLVED] Filter Vendors by custom field value
- nico.van.leeuwen
-
Topic Author
- Offline
Less
More
8 years 9 months ago - 8 years 8 months ago #288474
by nico.van.leeuwen
[SOLVED] Filter Vendors by custom field value was created by nico.van.leeuwen
-- url of the page with the problem -- :
lokaalgeleverd.nl/
-- HikaShop version -- : 3.3.0
-- HikaMarket version -- : 2.0.1
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.1.14
Hi,
I would like to be able to filter the vendor's based on the values I've put into the custom field I created.
This case it's a field that contains all the Zip codes that the vendor is selling his products.
I'm trying to create a filter (I made a custom text field type vendor) for this that will show all the vendors that will deliver in that area.
I've tried creating a filter for this but until now no luck getting te resulted vendors in a list.
Also I found a vendor list in the demo shop but am I right that this option is not available anymore in the menu types?
Thanks for your reply.
Nico
-- HikaShop version -- : 3.3.0
-- HikaMarket version -- : 2.0.1
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.1.14
Hi,
I would like to be able to filter the vendor's based on the values I've put into the custom field I created.
This case it's a field that contains all the Zip codes that the vendor is selling his products.
I'm trying to create a filter (I made a custom text field type vendor) for this that will show all the vendors that will deliver in that area.
I've tried creating a filter for this but until now no luck getting te resulted vendors in a list.
Also I found a vendor list in the demo shop but am I right that this option is not available anymore in the menu types?
Thanks for your reply.
Nico
Last edit: 8 years 8 months ago by nico.van.leeuwen. Reason: solved
Please Log in or Create an account to join the conversation.
8 years 9 months ago #288476
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Filter Vendors by custom field value
Hello,
I'm afraid that I don't understand your message.
HikaShop filters are for HikaShop product listing ; that HikaShop feature is not available for HikaMarket vendor listing, since it's not a product listing.
It is possible to filter the HikaMarket vendor listing but it require the usage of a custom plugin and it would use the trigger :
www.hikashop.com/support/documentation/1...VendorListingDisplay
That trigger allows you to interact with the SQL query to change the behavior and result of the vendor listing ; you would find other threads in that forum talking about that trigger and some got some examples.
Regards,
I'm afraid that I don't understand your message.
HikaShop filters are for HikaShop product listing ; that HikaShop feature is not available for HikaMarket vendor listing, since it's not a product listing.
It is possible to filter the HikaMarket vendor listing but it require the usage of a custom plugin and it would use the trigger :
www.hikashop.com/support/documentation/1...VendorListingDisplay
That trigger allows you to interact with the SQL query to change the behavior and result of the vendor listing ; you would find other threads in that forum talking about that trigger and some got some examples.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: nico.van.leeuwen
Please Log in or Create an account to join the conversation.
- nico.van.leeuwen
-
Topic Author
- Offline
8 years 8 months ago #288925
by nico.van.leeuwen
Replied by nico.van.leeuwen on topic Filter Vendors by custom field value
Hi Jérôme,
I've managed to create the filter based on your tips :
www.hikashop.com/forum/19-hikamarket/892...omer-s-location.html
www.hikashop.com/forum/20-market-feature...on-s-of-vendors.html
www.hikashop.com/forum/23-market-how-to/...location-filter.html
And added the products below the vendor by using this tip:
www.hikashop.com/support/documentation/1...-multi-tutorial.html
So thanks for these tips.
I've managed to create the filter based on your tips :
www.hikashop.com/forum/19-hikamarket/892...omer-s-location.html
www.hikashop.com/forum/20-market-feature...on-s-of-vendors.html
www.hikashop.com/forum/23-market-how-to/...location-filter.html
And added the products below the vendor by using this tip:
www.hikashop.com/support/documentation/1...-multi-tutorial.html
So thanks for these tips.
The following user(s) said Thank You: Mohamed Thelji
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
8 years 8 months ago #288927
by Mohamed Thelji
Replied by Mohamed Thelji on topic Filter Vendors by custom field value
Hello,
Thank you for your feedback !
Best regards,
Mohamed Thelji.
Thank you for your feedback !
Best regards,
Mohamed Thelji.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.064 seconds