Skip to main content

[SOLVED] Filter Vendors by custom field value

8 years 9 months ago - 8 years 8 months ago #288474 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
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
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,

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.

8 years 8 months ago #288925 by nico.van.leeuwen
The following user(s) said Thank You: Mohamed Thelji

Please Log in or Create an account to join the conversation.

8 years 8 months ago #288927 by Mohamed Thelji
Hello,

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
Powered by Kunena Forum