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

#   Orders Calendar filter

##

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 10 months ago [\#338718](#338718) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338718 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")* was created by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.0.6
-- PHP version -- : 7.4

Hi
I'm using Hikashop for persian website. the admin language is Persian
In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date

what should i do ?

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 10 months ago [\#338720](#338720) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338720 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Hello,

This subject is unfortunately a little redundant... In the sense that we have several times people like you wanting to work from the Persian calendar.

But we don't have solutions because we do not quite understand the basic principle of this Persian calendar.
As we don't use the Persian calendar at all, the best way will be to have a Persia developer to work on it in order to allow Joomla &amp; HikaShop too be able to process through the Persian Calendar.

Once again sorry for this return.
Regards

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

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

4 years 10 months ago [\#338745](#338745) by [lorus](/forum/user/60966-lorus "View lorus's Profile")  Replied by *[lorus](/forum/user/60966-lorus "View lorus's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338745 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Hello
The problem may be related to the solar date, but in the date selection box in the order filter section, there is a problem that has confused us by selecting from the pop-up window or entering the day or month manually, the order page is refreshed and practically Does not allow date selection. That is, by selecting the start date, the page filter is refreshed and does not allow the next date.
Thanks.

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 10 months ago [\#338748](#338748) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338748 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

The problem of the Persian calendar will be solved once for all if Hikashop use default joomla calendar everywhere a calendar is needed ...

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMzgzNS1vcmRlcnMtY2FsZW5kYXItZmlsdGVyP3RtcGw9bWFya2Rvd24=) 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: 86592
- Thank you received: 14329
-
-

4 years 10 months ago -  4 years 10 months ago [\#338756](#338756) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338756 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Hi,

I invite you to look at the file administrator/components/com_hikashop/views/order/tmpl/listing.php
You'll find this line of code: Code:

echo JHTML::_('calendar', hikashop_getDate((@$this-&gt;pageInfo-&gt;filter-&gt;filter_start?@$this-&gt;pageInfo-&gt;filter-&gt;filter_start:''),'%Y-%m-%d'), 'filter_start','period_start',hikashop_getDateFormat('%d %B %Y'),array('size'=&gt;'10','onchange'=&gt;'document.adminForm.submit();', 'onChange'=&gt;'document.adminForm.submit();'));

As you can see there, we call JHTML::_('calandar', ...) to display the date selector for the filter of the orders listing. This is the standard Joomla calendar selector.
So we're already using the "default joomla calendar everywhere a calendar is needed".
The problem is elsewhere and more complex than you make it seems.

Last edit: 4 years 10 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 10 months ago [\#338776](#338776) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338776 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Yes you are right.
I'm wondering why joomla calendar works very well in joomla content and modules but not here .. ![:(](/media/kunena/emoticons/22.png ":(") ![:(](/media/kunena/emoticons/22.png ":(") ![:(](/media/kunena/emoticons/22.png ":(")

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 10 months ago [\#338777](#338777) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338777 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

since Hikashop's Calendar custom field uses another calender than Joomla's default, I thought the orders list doesnt use default calendar too

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMzgzNS1vcmRlcnMtY2FsZW5kYXItZmlsdGVyP3RtcGw9bWFya2Rvd24=) 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: 86592
- Thank you received: 14329
-
-

4 years 10 months ago [\#338790](#338790) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338790 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Hi,

We use another calendar for the custom fields so that we can have more advanced options like limiting the days you can select, etc because custom field date pickers are often used to select a delivery date, and thus it is crutial that the selection can be restricted in many different ways to accomodate with the reality of the deliveries.

Otherwise, we try to use Joomla's calendar everywhere else.
I have looked several times at the issue with the Persian language. However, I'm not familiar with your calendar and even looking online for more information and looking into the code of Joomla to understand how it all works, I couldn't find out why the calendar doesn't display properly for the Persian language.
I suppose it is linked to the date conversion we do between unix timestamp and the date selected. However, this works for all the other languages and even takes into account the timezone. So I don't know why it does that, nor what needs to be done.
If I knew, I would have already fixed the problem. I'm sorry for the situation.

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

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

4 years 10 months ago [\#338797](#338797) by [lorus](/forum/user/60966-lorus "View lorus's Profile")  Replied by *[lorus](/forum/user/60966-lorus "View lorus's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338797 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Hi
Read the attachment link for github.
Thanks
[ github.com/ghost1372/PersianToolkit](https://github.com/ghost1372/PersianToolkit)

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 10 months ago [\#338804](#338804) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338804 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Thank you Nicolas.
Just want to thank your great support and responsebility.

Keep up the good work

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

4 years 10 months ago [\#338815](#338815) by [lorus](/forum/user/60966-lorus "View lorus's Profile")  Replied by *[lorus](/forum/user/60966-lorus "View lorus's Profile")* on topic *[Orders Calendar filter](/forum/35-orders-management/903835-orders-calendar-filter#338815 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4  Hi I'm using Hikashop for persian website. the admin language is Persian In my orders list in filter section, the calendar data is invalid and can not filter the orders for a specific persian date  what should i do ?")*

Hi
Scanning the order filtering pages, I found an interesting point
By selecting the local day, month and solar year: 10/27/1400
data-alt-value is calculated as half-year and half-solar, which causes the problem
As you can see in the attached image. Blue is the menu selection Red is the system selection
In choosing the system instead of January 2022, it is stated that April 2022 17 means half solar solar half year.
2022-01-17 is equal to 1400/10/27, not April 17, which is the first solar month.
I hope I was able to convey the problem clearly
Thanks

[ ![22.png](/forum/attachment/54248) ](/forum/attachment/54248 "22.png")

[ ![11.png](/forum/attachment/54249) ](/forum/attachment/54249 "11.png")

- [ ![22.png](/forum/attachment/54248) ](/forum/attachment/54248 "22.png") [ ](/forum/attachment/54248?download=1 "22.png")
- [ ![11.png](/forum/attachment/54249) ](/forum/attachment/54249 "11.png") [ ](/forum/attachment/54249?download=1 "11.png")

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

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