customer orders - selection filter

  • Posts: 141
  • Thank you received: 3
4 years 9 months ago #307746

-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.2.14

Hi, In Hikashop – Customer Orders it is possible to see orders selected by following ranges (filter_order_range):
In total
In the last 30 days
In the last 6 months
In 2019
In 2018
In 2017
In 2016
In 2015
In 2014

How can I change these values and exclude for example:
In 2018
In 2017
In 2016
In 2015
In 2014

Regards,
Greg

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

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
4 years 9 months ago #307749

Hi,

The years are added dynamically to the dropdown.
You would have to reduce the number 6 in the line:
for($i = 0 ; $i < 6 ; $i++) {
of the file administrator/components/com_hikashop/types/order_range.php
But if you set it to 1 for example, to only leave 2019, then in 2020, you would have only 2020 in the dropdown.

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

  • Posts: 141
  • Thank you received: 3
4 years 9 months ago #307762

Hi Nicolas, ok, thank you !
Regards,
Greg

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

Time to create page: 0.044 seconds
Powered by Kunena Forum