It works, it’s great.
But, if the user goes to the exaple_com/order page without a number, he will see a 404 error.
Is there a way to set a default value for an order? For example, if it is not there, then show the exaple_com/order/0 page, and not a 404 error.
Or just create a separate page that will handle exaple_com/order?
hi @uk141
Regarding the two solutions your propose, for the first one:
If user goes to exaple_com/order with no order ID, maybe you can use Pages’ redirect functionality to redirect them to exaple_com/order/0.
For solution 2:
I would customize the message of the 404 error page (example from @AnnMarieW repo), so it alerts the user to insert an order number.