Hi
We are creating a site for a deli restaurant. We use the restaurant app. Unfortunately, we can not have inventory in this app, so we decided to switch to the store app. But in the store app we can not let our customers pick specific date&time. Is there a way to add this widget by using code?
And in general, is there a way to use code to modify six built in apps such as stores and restaurants?
It is not possible to modify the Wix Apps using code but you can build your own versions of them.
We have a wix-stores API so you could build your own store using code, but we do not have a wix-restaurant API at this time so it is not possible to do anything restaurants related using Corvid.
Your feedback is highly appreciated and has been forwarded to the relevant department. At Wix, we are constantly working to improve and update existing features and introduce new ones.
The latest Corvid updates can be found here and the current Corvid Wishlist here .
See the current features in development here or request your own here .
You could use code to create your own product page which would allow users to select a date and time for delivery. You can check out the TimePicker and DatePicker API references to see what you can do using Corvid.
You would have to create your own store pages as you cannot interact with the individual elements in the Wix Stores widgets using code.
You can create a short form directly on the Checkout Page
You can collapse the checkout widget element, then after they fill out the form you can expand the checkout widget so they can continue to the end of checkout.
In your particular case, you will need to set ‘session storage variables’ so that you can collect the information, save it temporarily in storage and then insert it into a database after the order has been made.
A few things to remember: the form and the checkout widget are not going to be connected to each other, meaning the dates they select will NOT be ‘saved in the order’. You will be saving the information onto a completely separate database that you create on your own.
Here is an example that we built for a store that is renting out equipment so they needed start and end dates:
Can this date picker be somehow added to the checkout? I have a client wanting to sell a food product that ships overnight and they want the date to be picked by the purchaser so they can ship the day before.
@code-queen What do mean by collapsing check out widget element? Are you referring to when your in the checkout page or the checkout button on the cart page? If it is the former, how would you do that since the check out page is out of our control?
Thanks,
Tom