A
A
Alexander2020-10-06 10:57:38
1C-Bitrix
Alexander, 2020-10-06 10:57:38

What is the best way to display a list of orders filtered by date?

It is necessary to implement the possibility for the user to be able to view all orders in his personal account, but only orders for the current date should be displayed on the page, the user could view orders for other dates using a filter, where he will select a date and orders for the selected date will be loaded to him. date.

I have an idea to take the bitrix:sale.personal.order component and customize it so that when the filter is launched, call it via ajax with the date parameter. Is there another better option?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-10-06
@anton99zel

What is the best way to display a list of orders filtered by date?

https://dev.1c-bitrix.ru/api_d7/bitrix/sale/techni...
Display everything, show/hide unnecessary using layout, sort by date.
I have an idea to take the bitrix:sale.personal.order component and customize it

Write faster

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question