Datepicker filter

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
9 years 6 months ago #202538

-- 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?

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
9 years 6 months ago #202562

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.

The following user(s) said Thank You: oxido

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

  • Posts: 846
  • Thank you received: 92
9 years 6 months ago #202810

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

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 5 months ago #202821

Hi,

Don't think the question is about book event.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 846
  • Thank you received: 92
9 years 5 months ago #202987

Hi
....and about todo list ?
regard's

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 5 months ago #202988

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,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: lionel75, oxido

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

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
9 years 5 months ago #204068

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