Wix store "orders" collection query doesn't work!

Thanks for the reply! The code works very well on the preview, but not on the live site. I have added the console.log and I get the the success execution of the code. Where I am get it wrong?