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

#   search filter on date

##

- **[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") Topic Author
- [ Offline](/forum/user/11856-lionel75)

Less More

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

11 years 6 months ago -  11 years 6 months ago [\#199799](#199799) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  *[search filter on date](/forum/45-filters-search/876598-search-filter-on-date#199799 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.x  hi Is there a way 1- to filter products base on field of any products field that support &quot; date type &quot; ? 2- to show list of products base on the many product field value ? 3- to mix many filter for search or link to products ? thank's")* was created by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.x

hi
Is there a way
1- to filter products base on field of any products field that support " date type " ?
2- to show list of products base on the many product field value ?
3- to mix many filter for search or link to products ?
thank's

Last edit: 11 years 6 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NjU5OC1zZWFyY2gtZmlsdGVyLW9uLWRhdGU/dG1wbD1tYXJrZG93bg==) 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: 86316
- Thank you received: 14276
-
-

11 years 6 months ago [\#199845](#199845) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[search filter on date](/forum/45-filters-search/876598-search-filter-on-date#199845 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.x  hi Is there a way 1- to filter products base on field of any products field that support &quot; date type &quot; ? 2- to show list of products base on the many product field value ? 3- to mix many filter for search or link to products ? thank's")*

Hi,

1. There is no option to do that. You would have to develop your own filtering module in that case.

2. With the filters yes. You can create filters applying on each of your custom product fields, which will then allow the customers to show a list of products based on what they select in these filters.

3. Yes, you can create several filters and have them work together for the filtering of the products listings.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NjU5OC1zZWFyY2gtZmlsdGVyLW9uLWRhdGU/dG1wbD1tYXJrZG93bg==) 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") Topic Author
- [ Offline](/forum/user/11856-lionel75)

Less More

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

11 years 6 months ago -  11 years 6 months ago [\#199899](#199899) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[search filter on date](/forum/45-filters-search/876598-search-filter-on-date#199899 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.x  hi Is there a way 1- to filter products base on field of any products field that support &quot; date type &quot; ? 2- to show list of products base on the many product field value ? 3- to mix many filter for search or link to products ? thank's")*

Hi
Product can have many categories and i think categories exsit to be use with filter , search ,menu.
Does filter can use many categories because i don't succeed to select category1 AND category2 for my filter !! in a way the label name is category not categories ... but JEvents let us select multicategories and hikashop let us selct multicategories for product !!!

####  Attachment not found

regard's

Last edit: 11 years 6 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NjU5OC1zZWFyY2gtZmlsdGVyLW9uLWRhdGU/dG1wbD1tYXJrZG93bg==) 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: 86316
- Thank you received: 14276
-
-

11 years 6 months ago [\#199902](#199902) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[search filter on date](/forum/45-filters-search/876598-search-filter-on-date#199902 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.x  hi Is there a way 1- to filter products base on field of any products field that support &quot; date type &quot; ? 2- to show list of products base on the many product field value ? 3- to mix many filter for search or link to products ? thank's")*

Hi,

This field is to say on which category you want to display the filter. You can only select one category there.
It has no incidence on the categories which would be listed inside the filter.

The following user(s) said Thank You: [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NjU5OC1zZWFyY2gtZmlsdGVyLW9uLWRhdGU/dG1wbD1tYXJrZG93bg==) 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") Topic Author
- [ Offline](/forum/user/11856-lionel75)

Less More

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

11 years 5 months ago [\#201000](#201000) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[search filter on date](/forum/45-filters-search/876598-search-filter-on-date#201000 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.x  hi Is there a way 1- to filter products base on field of any products field that support &quot; date type &quot; ? 2- to show list of products base on the many product field value ? 3- to mix many filter for search or link to products ? thank's")*

I ll study write now joomla extension extension .....
I try to understand the logic ( database cell format , hks BE GUI , joomla core) of hikashop compare to joomla choice implementation of some extension .

If i take date :
-joomla core use datetime
-hikashop use int ( like product_sale_end )
-hikashop use for custom field a date picker store in text format ? ( perhaps i write a mistake )

From a php ( and SLQ ) point of view why use so many differents date storage for manage date ?
I think there is a logic behind this that i don't understand until now .
Does datetime is a nightmare to manage in php ?
Does use unix storage is still more efficient ( speed) that use date time type object ?

Thank' s

####  Attachment not found

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NjU5OC1zZWFyY2gtZmlsdGVyLW9uLWRhdGU/dG1wbD1tYXJrZG93bg==) 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: 86316
- Thank you received: 14276
-
-

11 years 5 months ago [\#201014](#201014) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[search filter on date](/forum/45-filters-search/876598-search-filter-on-date#201014 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.x  hi Is there a way 1- to filter products base on field of any products field that support &quot; date type &quot; ? 2- to show list of products base on the many product field value ? 3- to mix many filter for search or link to products ? thank's")*

We use int for the normal dates in the database instead of datetime because it is easier to make operations (for statistics, reports, filters, etc) on the columns and it is simpler to handle timezones.

We use a "text" format for the custom fields as you want the data to be readable even if you change the type of the custom field or when you export the data, and there is still no problem with timezones, and on top of that, you can have dates older than 1970 which is handy for birthday custom fields which wouldn't be possible with a timestamp...

There are different formats for everything because they solve different things. For example for the images:
JPG is compressed (small file size) so it's great for photos with a lot of pixels
PNG is not compressed (bigger file size) so it's great for icons, small images where you don't want to loose any detail. It also supports transparency
GIF is great for small images, animations because it is limited in the number of colors, but can support several frames played one after another.
Each format was made for a different purposes.

More information on SQL date formats:
[ stackoverflow.com/questions/409286/datetime-vs-timestamp](http://stackoverflow.com/questions/409286/datetime-vs-timestamp)
[ code.openark.org/blog/mysql/timestamp-vs...ch-should-i-be-using](http://code.openark.org/blog/mysql/timestamp-vs-datetime-which-should-i-be-using)

The following user(s) said Thank You: [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NjU5OC1zZWFyY2gtZmlsdGVyLW9uLWRhdGU/dG1wbD1tYXJrZG93bg==) 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") Topic Author
- [ Offline](/forum/user/11856-lionel75)

Less More

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

11 years 5 months ago -  11 years 5 months ago [\#201103](#201103) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[search filter on date](/forum/45-filters-search/876598-search-filter-on-date#201103 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.x  hi Is there a way 1- to filter products base on field of any products field that support &quot; date type &quot; ? 2- to show list of products base on the many product field value ? 3- to mix many filter for search or link to products ? thank's")*

Hi
thank's you for the great comparison beetween date and image ! All make sense ..... now

regard's

Last edit: 11 years 5 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NjU5OC1zZWFyY2gtZmlsdGVyLW9uLWRhdGU/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.144 seconds

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

[](#top)
