- Posts: 7
- Thank you received: 0
Make/Model/Year Filter Help
11 years 5 months ago #200914
by hrtrulz
Make/Model/Year Filter Help was created by hrtrulz
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.6.6
Hi
Can some help me by telling me how to setup Make/Model/Year filter for my products. I need Model dependent on Make and year is dependent on Model. Below is example of the setup I need.
- Make
- - Model
- - - year
- Holden
- - Curse
- - - 2014
- - - 2015
- - Trax
- - - 2014
- - - 2015
- Ford
- - Focus
- - - 2014
- - - 2015
- - Falcon
- - - 2014
- - - 2015
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.6.6
Hi
Can some help me by telling me how to setup Make/Model/Year filter for my products. I need Model dependent on Make and year is dependent on Model. Below is example of the setup I need.
- Make
- - Model
- - - year
- Holden
- - Curse
- - - 2014
- - - 2015
- - Trax
- - - 2014
- - - 2015
- Ford
- - Focus
- - - 2014
- - - 2015
- - Falcon
- - - 2014
- - - 2015
Please Log in or Create an account to join the conversation.
11 years 5 months ago #200944
by nicolas
Replied by nicolas on topic Make/Model/Year Filter Help
Hi,
You'll want to create 3 custom fields of the table "product" via the menu Display>Custom fields with all the possible values for each field:
www.hikashop.com/support/support/documen...shop-field-form.html
Then, in each product select the appropriate value in each field.
Then, create one filter for each custom field with the "auto submit" and "dynamic display" options turned on :
www.hikashop.com/support/support/documen...-filter-listing.html
That will allow you to have such Maker/Model/Year filter system. Note that this will require the Business edition of HikaShop.
You'll want to create 3 custom fields of the table "product" via the menu Display>Custom fields with all the possible values for each field:
www.hikashop.com/support/support/documen...shop-field-form.html
Then, in each product select the appropriate value in each field.
Then, create one filter for each custom field with the "auto submit" and "dynamic display" options turned on :
www.hikashop.com/support/support/documen...-filter-listing.html
That will allow you to have such Maker/Model/Year filter system. Note that this will require the Business edition of HikaShop.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #201037
by hrtrulz
Replied by hrtrulz on topic Make/Model/Year Filter Help
Hi
As I have not purchased yet and I tried on the demo site. This is now exactly what we are looking for.The way we want it to work a cascading filter that will only show the Make after the model is selected and then only show year after the model is selected.
Is this possible to do?
As I have not purchased yet and I tried on the demo site. This is now exactly what we are looking for.The way we want it to work a cascading filter that will only show the Make after the model is selected and then only show year after the model is selected.
Is this possible to do?
Please Log in or Create an account to join the conversation.
11 years 5 months ago #201067
by Xavier
Replied by Xavier on topic Make/Model/Year Filter Help
Hi,
The solution given by Nicolas allow to have only the available models in the dropdown based on the "Make" information filled, only available years in the dropdown once the model has been selected but the three filters will be always displayed.
By default there is not option to hide/show a filter based on the value of another one, but that can potentially be done thanks to some javascript.
So it require javascript knowledges.
The solution given by Nicolas allow to have only the available models in the dropdown based on the "Make" information filled, only available years in the dropdown once the model has been selected but the three filters will be always displayed.
By default there is not option to hide/show a filter based on the value of another one, but that can potentially be done thanks to some javascript.
So it require javascript knowledges.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #201199
by hrtrulz
Replied by hrtrulz on topic Make/Model/Year Filter Help
Hi
Thanks for that answer also. I should be able to do this in Javascript.
Thanks for that answer also. I should be able to do this in Javascript.
Please Log in or Create an account to join the conversation.
Time to create page: 0.237 seconds