- Posts: 141
- Thank you received: 3
customer orders - selection filter
7 years 3 months ago #307746
by Greg_C
customer orders - selection filter was created by Greg_C
-- 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
-- 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.
7 years 3 months ago #307749
by nicolas
Replied by nicolas on topic customer orders - selection filter
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.
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.
7 years 3 months ago #307762
by Greg_C
Replied by Greg_C on topic customer orders - selection filter
Hi Nicolas, ok, thank you !
Regards,
Greg
Regards,
Greg
Please Log in or Create an account to join the conversation.
Time to create page: 0.171 seconds