- Posts: 281
- Thank you received: 42
Datepicker filter
11 years 4 months ago #202538
by oxido
Datepicker filter was created by oxido
-- HikaShop version -- : Business 2.3.4
-- Joomla version -- : Joomla! 3.4.1
-- PHP version -- : 5.4.37
I created a custom field for products (Advance DatePicker).
I select a date for my product (18-08-2015), and i want to create a filter with 2 fields (also thy Will Be 2 datepickers). In the first field i select 25-03-2014 and in the second one i select 14/09/2016.
And this Will find the product with date 18.08.2015.
Because the product date is Between: (25-03-2014) - (18-08-2015) - (14/09/2016).
It is Possible, or Can You guided how could I do this?
-- Joomla version -- : Joomla! 3.4.1
-- PHP version -- : 5.4.37
I created a custom field for products (Advance DatePicker).
I select a date for my product (18-08-2015), and i want to create a filter with 2 fields (also thy Will Be 2 datepickers). In the first field i select 25-03-2014 and in the second one i select 14/09/2016.
And this Will find the product with date 18.08.2015.
Because the product date is Between: (25-03-2014) - (18-08-2015) - (14/09/2016).
It is Possible, or Can You guided how could I do this?
Please Log in or Create an account to join the conversation.
11 years 4 months ago #202562
by nicolas
Replied by nicolas on topic Datepicker filter
Hi,
There is no system to do that in HikaShop. There is no Datepicker filters.
The closest would be to use a cursor field which would allow you to have that filtering but the selection would be done as if the dates where numbers:
between 20140325 and 20160914
Alternatively, to do exactly what you want with HikaShop, it would require the development of a custom module to display the two datepickers and the a hikashop plugin to read the selection of the datepickers on the products listing page and add the filter to the product loading query with the trigger onBeforeProductListingLoad :
www.hikashop.com/support/support/documen...reProductListingLoad
This however requires the help of a developer if you're not one yourself.
There is no system to do that in HikaShop. There is no Datepicker filters.
The closest would be to use a cursor field which would allow you to have that filtering but the selection would be done as if the dates where numbers:
between 20140325 and 20160914
Alternatively, to do exactly what you want with HikaShop, it would require the development of a custom module to display the two datepickers and the a hikashop plugin to read the selection of the datepickers on the products listing page and add the filter to the product loading query with the trigger onBeforeProductListingLoad :
www.hikashop.com/support/support/documen...reProductListingLoad
This however requires the help of a developer if you're not one yourself.
The following user(s) said Thank You: oxido
Please Log in or Create an account to join the conversation.
11 years 4 months ago #202810
by lionel75
Replied by lionel75 on topic Datepicker filter
Hi
I think the question is about book event . ...So does a date picker selection for example to apply for example in product field "Product available until" Date is in a todo list ?
regard's
I think the question is about book event . ...So does a date picker selection for example to apply for example in product field "Product available until" Date is in a todo list ?
regard's
Please Log in or Create an account to join the conversation.
11 years 4 months ago #202821
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Datepicker filter
Hi,
Don't think the question is about book event.
Regards,
Don't think the question is about book event.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 4 months ago #202987
by lionel75
Replied by lionel75 on topic Datepicker filter
Hi
....and about todo list ?
regard's
....and about todo list ?
regard's
Please Log in or Create an account to join the conversation.
11 years 4 months ago #202988
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Datepicker filter
Hi,
A booking system for HikaShop is in my TODO list ; but I have to finish the two big projects I have for HikaShop and also some of elements in my HikaMarket TODO list before starting the development of that new component.
Regards,
A booking system for HikaShop is in my TODO list ; but I have to finish the two big projects I have for HikaShop and also some of elements in my HikaMarket TODO list before starting the development of that new component.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 3 months ago #204068
by oxido
Replied by oxido on topic Datepicker filter
Wonderful, I am impatient to see that component, you guys do a great job!
Please Log in or Create an account to join the conversation.
Time to create page: 0.234 seconds