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

#   Custom Product Search - YMM

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 8 months ago [\#41402](#41402) by [mmccarthy](/forum/user/4327-mmccarthy "View mmccarthy's Profile")  Replied by *[mmccarthy](/forum/user/4327-mmccarthy "View mmccarthy's Profile")* on topic *[Re: Custom Product Search - YMM](/forum/4-how-to/31130-custom-product-search-ymm?start=20#41402 "I need to implement a custom search for YMM (year make model). There are, of course, several interfaces I could dream up to accomplish the task, however I will describe what I believe to be the easiest.  Prerequisites: 1. I have all of my products categorized and imported into my store (hikashop online store, that is). 2. I have all of my YMM data in a separate table in my database listed by product&#95;code (SKU).  I would like to build a simple search form, with year, make, model. That form would request/pull the list of SKU's from my YMM data that match. I would then like to pass my list of SKU's to the hikashop product list page for display.  Please advise best course of action or alternatives to accomplish this task.")*

Hi Nicolas,

Thanks for all of your help with the YMM search. Our programmer who built this, however, is no longer with the company. We are experiencing some issues and are trying to troubleshoot his code.

When we do a Year/Make/Model search, the results return correct. However, the when we then navigate to a product listing via category dropdowns, our results are incorrect. It looks like the YMM session that is created when doing a search is not being unset. When/how can we unset this? Would you be able to take a look at the plugin file and see if you can detect an issue?

Thanks for your help!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86582
- Thank you received: 14322
-
-

14 years 8 months ago [\#41584](#41584) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Product Search - YMM](/forum/4-how-to/31130-custom-product-search-ymm?start=20#41584 "I need to implement a custom search for YMM (year make model). There are, of course, several interfaces I could dream up to accomplish the task, however I will describe what I believe to be the easiest.  Prerequisites: 1. I have all of my products categorized and imported into my store (hikashop online store, that is). 2. I have all of my YMM data in a separate table in my database listed by product&#95;code (SKU).  I would like to build a simple search form, with year, make, model. That form would request/pull the list of SKU's from my YMM data that match. I would then like to pass my list of SKU's to the hikashop product list page for display.  Please advise best course of action or alternatives to accomplish this task.")*

Wow. That's a lot of code.

From what you're saying, it seems that the problem is that the information is kept into the session of the user and reused on other pages where it shouldn't.
I indeed saw a few places where the session is used in the code so it must come from one of these. But then I can't give more precisions. The code is quite complex and I don't have all the context. You will have to debug it in order to find the problem. There is no easy way.

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

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

Less More

- Posts: 1
- Thank you received: 0
-
-

13 years 7 months ago [\#98267](#98267) by [farseer](/forum/user/16341-farseer "View farseer's Profile")  Replied by *[farseer](/forum/user/16341-farseer "View farseer's Profile")* on topic *[Custom Product Search - YMM](/forum/4-how-to/31130-custom-product-search-ymm?start=20#98267 "I need to implement a custom search for YMM (year make model). There are, of course, several interfaces I could dream up to accomplish the task, however I will describe what I believe to be the easiest.  Prerequisites: 1. I have all of my products categorized and imported into my store (hikashop online store, that is). 2. I have all of my YMM data in a separate table in my database listed by product&#95;code (SKU).  I would like to build a simple search form, with year, make, model. That form would request/pull the list of SKU's from my YMM data that match. I would then like to pass my list of SKU's to the hikashop product list page for display.  Please advise best course of action or alternatives to accomplish this task.")*

I have a client who needs something very similar MMcCarthy. Did you manage to get this working properly? Would you be interested in quoting me to do this for my client?

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

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

Less More

- Posts: 42
- Thank you received: 1
-
-

12 years 3 months ago [\#167024](#167024) by [BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile")  Replied by *[BNRBranding](/forum/user/26254-bnrbranding "View BNRBranding's Profile")* on topic *[Re: Custom Product Search - YMM](/forum/4-how-to/31130-custom-product-search-ymm?start=20#167024 "I need to implement a custom search for YMM (year make model). There are, of course, several interfaces I could dream up to accomplish the task, however I will describe what I believe to be the easiest.  Prerequisites: 1. I have all of my products categorized and imported into my store (hikashop online store, that is). 2. I have all of my YMM data in a separate table in my database listed by product&#95;code (SKU).  I would like to build a simple search form, with year, make, model. That form would request/pull the list of SKU's from my YMM data that match. I would then like to pass my list of SKU's to the hikashop product list page for display.  Please advise best course of action or alternatives to accomplish this task.")*

> nicolas wrote: Hi,
>
> You should be able to do that without any coding.
> First, create custom fields of the table "product" via the menu Display-&gt;Custom fields for the year, make, model and enter the information for each product.
> Then, create filters for each custom field via the menu Display-&gt;Filters following the documentation here:
> [ www.hikashop.com/en/support/documentatio...-filter-listing.html](http://www.hikashop.com/en/support/documentation/101-hikashop-filter-listing.html)
> That should put search filters on the products listing so that your users can easily browse your products.
>
> That can only be done in the Business edition of HikaShop.

Nicolas, we are working on a solution for implementing year/make/model filtering on a website. My question is regarding products that fit multiple year/make/model. How would we accommodate that with the custom fields? Some products may fit a range of years for a particular model, other products may fit different makes or models.

Ideas?

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

12 years 3 months ago [\#167047](#167047) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Custom Product Search - YMM](/forum/4-how-to/31130-custom-product-search-ymm?start=20#167047 "I need to implement a custom search for YMM (year make model). There are, of course, several interfaces I could dream up to accomplish the task, however I will describe what I believe to be the easiest.  Prerequisites: 1. I have all of my products categorized and imported into my store (hikashop online store, that is). 2. I have all of my YMM data in a separate table in my database listed by product&#95;code (SKU).  I would like to build a simple search form, with year, make, model. That form would request/pull the list of SKU's from my YMM data that match. I would then like to pass my list of SKU's to the hikashop product list page for display.  Please advise best course of action or alternatives to accomplish this task.")*

Hi,

It depends on the custom field type you will use.
You can have a textbox like you can have a single drop down or a multi drop down.
It will depend on the structure you want.

Regards,

---

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

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

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

Less More

- Posts: 846
- Thank you received: 92
-
-

11 years 7 months ago [\#199187](#199187) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[Re: Custom Product Search - YMM](/forum/4-how-to/31130-custom-product-search-ymm?start=20#199187 "I need to implement a custom search for YMM (year make model). There are, of course, several interfaces I could dream up to accomplish the task, however I will describe what I believe to be the easiest.  Prerequisites: 1. I have all of my products categorized and imported into my store (hikashop online store, that is). 2. I have all of my YMM data in a separate table in my database listed by product&#95;code (SKU).  I would like to build a simple search form, with year, make, model. That form would request/pull the list of SKU's from my YMM data that match. I would then like to pass my list of SKU's to the hikashop product list page for display.  Please advise best course of action or alternatives to accomplish this task.")*

this post has a lot of information . to be more general Can you enumerate the way from the simple to the hardest to implement this YMM search functionnalities myself ?
-1 buy hks bussiness
-2 ? i dont know if all the 3 extensions could be use since i never implement any of them from scratch .
-3 idem module ?
-4 idem component ?

regard's

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86582
- Thank you received: 14322
-
-

11 years 7 months ago [\#199195](#199195) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Product Search - YMM](/forum/4-how-to/31130-custom-product-search-ymm?start=20#199195 "I need to implement a custom search for YMM (year make model). There are, of course, several interfaces I could dream up to accomplish the task, however I will describe what I believe to be the easiest.  Prerequisites: 1. I have all of my products categorized and imported into my store (hikashop online store, that is). 2. I have all of my YMM data in a separate table in my database listed by product&#95;code (SKU).  I would like to build a simple search form, with year, make, model. That form would request/pull the list of SKU's from my YMM data that match. I would then like to pass my list of SKU's to the hikashop product list page for display.  Please advise best course of action or alternatives to accomplish this task.")*

1. The standard fitlers system of the Business edition can have search dropdowns and have them refresh with a functionality somehow similar (but a bit different).
2. Someone shared with us a custom module that can be used to do that. We still have to review it. If you want we can potentially share it with you. In that case, please use our contact form to request access to it with a link to this thread. It would still require the Business edition.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMxMTMwLWN1c3RvbS1wcm9kdWN0LXNlYXJjaC15bW0/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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.062 seconds

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