Wix store order as Guest

I created a webshop with Wix store.

My customer is a bakery. People can order all kind of cakes, breads, etc.
But the bakery doesn’t ship. Everything has to be picked up in the store.

Customers can place an order by filling in a form and select a date when they want to pick-up the order in the store.

I have few problems:

  • I tried to created a form with personal data fields and a datepicker. But I can’t link the data to the order. How can I link it? I can’t reach the existing collection.

  • When I block some dates with CORVID on the DatePickers I am still able to select these dates.
    Customers shouldn’t be able to order for the next day if the time is past 18:00.
    So if I would order today after 18:00, it should not be possible to select tomorrow as a pick-up date.

Thanks in advance

Ok I have some more information.

  • Order collection = Readonly so I can’t add a field to it.
    Anyone an idea how I could make it work ?

  • The Datepicker problem is solved. I had an syntax error in my Javascript code.