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

#   Dynamic Drop-down menus for filtering and searching

##

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

Less More

- Posts: 90
- Thank you received: 1
-
-
-
-

8 years 2 days ago [\#300647](#300647) by [langkatech](/forum/user/7030-langkatech "View langkatech's Profile")  *[Dynamic Drop-down menus for filtering and searching](/forum/45-filters-search/896255-dynamic-drop-down-menus-for-filtering-and-searching#300647 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.0.32 -- Browser(s) name and version -- : Chrome latest version  We sell automotive paints, so our products are paints (paint codes). A paint code can be used in a specific year, by a specific car manufacturer, for a specific model. Year, Make, Model. We had originally thought to set up my store with Year Make and Model as categories, and the paints as products. A single paint can be used in many years on many models, and sometimes different manufactures. We currently have about 20,000 products.  We would like to have 3 drop down menus to filter or search for a specific paint. So the first drop down would have years. 2000-2019 and a customer can choose say 2005. The next drop-down would have car manufacturers (Acura..BMW..Volvo), but filtered by year, so only car manufacturers that had paints for 2005, for this example lets use Toyota, The third drop-down would have car models and it would be based on the firs two selections, So it would only list 2005 Toyota models, Camry, Tundra, Tacoma... This can be easily seen on one of our competitors paintscratch.com.  So my question is can I do this with filters on Hikashop? And should I use Categories, or Attributes?")* was created by *[langkatech](/forum/user/7030-langkatech "View langkatech's Profile")*

-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.9.0
-- PHP version -- : 7.0.32
-- Browser(s) name and version -- : Chrome latest version

We sell automotive paints, so our products are paints (paint codes). A paint code can be used in a specific year, by a specific car manufacturer, for a specific model. Year, Make, Model. We had originally thought to set up my store with Year Make and Model as categories, and the paints as products. A single paint can be used in many years on many models, and sometimes different manufactures. We currently have about 20,000 products.

We would like to have 3 drop down menus to filter or search for a specific paint. So the first drop down would have years. 2000-2019 and a customer can choose say 2005. The next drop-down would have car manufacturers (Acura..BMW..Volvo), but filtered by year, so only car manufacturers that had paints for 2005, for this example lets use Toyota, The third drop-down would have car models and it would be based on the firs two selections, So it would only list 2005 Toyota models, Camry, Tundra, Tacoma... This can be easily seen on one of our competitors paintscratch.com.

So my question is can I do this with filters on Hikashop? And should I use Categories, or Attributes?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NjI1NS1keW5hbWljLWRyb3AtZG93bi1tZW51cy1mb3ItZmlsdGVyaW5nLWFuZC1zZWFyY2hpbmc/dG1wbD1tYXJrZG93bg==) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 21 hours ago [\#300666](#300666) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Dynamic Drop-down menus for filtering and searching](/forum/45-filters-search/896255-dynamic-drop-down-menus-for-filtering-and-searching#300666 "-- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.0.32 -- Browser(s) name and version -- : Chrome latest version  We sell automotive paints, so our products are paints (paint codes). A paint code can be used in a specific year, by a specific car manufacturer, for a specific model. Year, Make, Model. We had originally thought to set up my store with Year Make and Model as categories, and the paints as products. A single paint can be used in many years on many models, and sometimes different manufactures. We currently have about 20,000 products.  We would like to have 3 drop down menus to filter or search for a specific paint. So the first drop down would have years. 2000-2019 and a customer can choose say 2005. The next drop-down would have car manufacturers (Acura..BMW..Volvo), but filtered by year, so only car manufacturers that had paints for 2005, for this example lets use Toyota, The third drop-down would have car models and it would be based on the firs two selections, So it would only list 2005 Toyota models, Camry, Tundra, Tacoma... This can be easily seen on one of our competitors paintscratch.com.  So my question is can I do this with filters on Hikashop? And should I use Categories, or Attributes?")*

Hello,

The range filter can only work correctly on a field (product custom field) and that field would have to contain just one value.
Regarding the complexity, I can't provide guarantee on the range filter targeting categories... Best would be to perform tests on it !

But since you have multiple values for years and manufacturers, the usage of categories is a good solution.
Afterwards, it does not allow to link a year with a manufacturer ; to do so it would require some custom development to have a new kind of custom field and maybe some modifications in the filter system to handle that new kind of field.
It is possible, we already saw it in websites ; but it is a too specific case to be provided as a generic feature in an e-commerce system.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NjI1NS1keW5hbWljLWRyb3AtZG93bi1tZW51cy1mb3ItZmlsdGVyaW5nLWFuZC1zZWFyY2hpbmc/dG1wbD1tYXJrZG93bg==) 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?

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

Time to create page: 0.054 seconds

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