dodo Moderator Fra Lithuania Member since mar. 2016 dodo 3 nov. 2020 09:05 I'm working on some project where services will be used instead of products and shopping cart will be changed to some sort of reservation system. Which way sounds more logic: to use calendar and time selector in every service page or as a shipping module? Available dates would be loaded from mysql for next couple of months. If there is a better option please share you ideas. I need a basic option to choose date and time and save it to the database. Sounds relatively easy, but is it really?
Slettet Fra Ukendt 3 nov. 2020 12:32 @dodo Let me start from the end; how easy it will be depends on your programming skills. All the information is there, on the wiki. I tried to so something like that, but I am not a full time programmer, so what I did was a Shipping module, in my case I avoided the DB interaction, but that is for later. Under the Add-ons, there are two Shipping modules that have a reservation pop-up calendar; the problem here is that the Shipping and Payment modules work together. This means that while the calendar is on the Shipping module, the actual confirmation and the Comment is written by the Payment module. On regards of best placement, that depends on the shop/customer; for example: Case 1 - - Customer buys the following products; >> Product 1 for 02/Jan/21 >> Product 2 for 03/Jan/21 >> Product 3 for 04/Jan/21 >> At payment, customer pays for the total of the 3 products -- In this case, the calendar should be presented per product, then the cart will charge all 3 products on 1 payment Case 2- - Customer buys the following products; >> Product 1 >> Product 2 >> Product 3 >> At payment, customer accepts all products to be done on 02/Jan/21 -- In this case, the calendar can be presented during the Shipping Module (even if it is Pick Up in Store), as there is a single date Currently the modules I created, simply put a Comment in the order, but there is no option to check in the calendar the order for the days. My plan, with time, is to created a table in the DB, (Order <-> Date) and to created an Admin module (Calendar), where a date can be shown and the orders for the day are listed. -- But this will take me some time -- If you want, we can work together, I have a TEST site that we can use to test changes.
dodo Moderator Fra Lithuania Member since mar. 2016 dodo 6 nov. 2020 09:17 I'm also not a developer, so I see that it's quite complex. I've checked your modules and they are quite good and I don't think I will manage to connect it the database easily, but I will try. I also have a test server, so if I have any progress I will post it here. p.s. Case 1 fits my needs better. I'll try working on it.