T
T
Timur Sh2020-08-22 10:50:39
1C-Bitrix
Timur Sh, 2020-08-22 10:50:39

Why does the public order link obtained using \Bitrix\Sale\Helpers\Order::getPublicLink($order) not work?

I use the public link to view the order.
The /personal/orders/index.php page hosts and configures the sale.personal.order component.
When using the link received in the administrative part of the site, the order is displayed without authorization and access has one value, and when using \Bitrix\Sale\Helpers\Order::getPublicLink($order), the site asks for authorization and access has a different value. $order checked - correct.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question