Okay
  Public Ticket #2436778
Multiple appointments before checkout
Open

Comments

  •  3
    Hubert started the conversation

    Hi,

    I'm trying to schedule several appointments before the checkout process in Woocommerce. The cart is populated only with the last appointment chosen. Count is 1 (one) and the amount is of the last chosen appointment even though I chose more than one by repeating the process and choosing different services each time (during the same login session).

    Is it because I chose to have only one Woocommerce product corresponding to appointments (default wpamelia install behaviour) ?

    If not, then it is a problem. If yes, then I'll have to make one product per service like written as possible in the wpamelia documentation.

    Thanks

  •  3
    Hubert replied

    So. First test with one unique product in Woocommerce for each service in WPAmelia:

    Workflow (all in the frontend) for 2 appointments (2 different days and times) for one service :

    1. In WPAmelia, I chose one appointment and validate

    2. The cart indicates 1, amount is of the service amount. All is OK here

    3. I go back to WPAmelia and chose a second appointment and validate

    4. The carte still indicates 1 (it should indicate 2) and the amount is for one service/appointment only

    ---

    2 problems:

    1. The fact that I have to go back each time is not good. I should have the choice like any shop has to continue or checkout, but never mind. That not the biggest issue.

    2. The cart is emptied at each appointment choice. I'm getting nervous as this is a major problem. Do I miss something or is this how the plugin has been written?

    Please help. I've spent a lot of time working on integrating WPAmelia into the website.

  •  3
    Hubert replied

    Second test with one unique product in Woocommerce for each service in WPAmelia:

    This is what happens:

    - If the cart is already populated with some other products from Woocommerce then 1 appointment can be added. The other product (not an appointment) will stay with the new appointment, giving 2 items in the cart.

    - Whatever new appointment is added, it takes the place of the previous one. The number of item only changes when another product is added (not an appointment).

    This means: if WPAmelia has been written to have this behaviour that it is not Woocommerce compatible.

    Also when the new added appointment replaces the previous one, nothing is said. The customer is not notified his previous appointment chosen seconds ago will disappear !

    I'm starting to regret my purchase. Please advise

  •   [deleted] replied privately
  •  3
    Hubert replied

    Marija,

    Thank you very much for that. Your patch seems to work.

    I'was so disappointed that I was already looking elsewhere. This is going

    And TMSPlugins should have mentioned that it is NOT possible to add more than one appointment at a time, I would not have bought the plugin.

    It is NOT Woocommerce normal behaviour (but Amelia is advertised as : "integrate it with your WooCommerce installation") and NOT life proof (how can one ask a Yoga/Sport/Beauty customer to have 15 payments and 15 login sessions if he/she has an appointment every 2 days !). One usually pays per month.

    Thanks again for your work-around.

    I hope there will not be any more surprises.

  • [deleted] replied

    You are welcome. 

    There isn't a possibility to book multiple appointments at once in Amelia, only one appointment can be booked at a time. This applies to Amelia, no matter what payment method is used, as WooCommerce is used in Amelia for payment purposes. So it works like that with Woo as well. 

    Yes, I understand, this is why, since recurring appointments was one of the most requested features requested, we are adding it to the next update of Amelia. So , after it is released and you update the plugin, customers will be able to book recurring (more) appointments at once in Amelia. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help.

  •  3
    Hubert replied

    Marija,

    I understood you well (about this missing in Amelia). But as soon as TMSPlugins advertises Woocommerce, then you have to comply with the normal way of working (one call going to Woocommerce cart = one more line in the cart and NOT one line replaced with no notification !). If not it must be written somewhere. This is a flaw not just a code writing choice. Adding it is not going to be a feature it should already be there.

    Thanks

  •  3
    Hubert replied

    Hi Marija,

    So… I installed V2.7… What can I say… I'm disappointed. The problem is still there. I had to change line 638 in file 'WooCommerceService.php' for it to work. Lines still vanish in Woocommerce cart.

    I saw there was now a (quite complicated) recurring appointment feature. That only works if :

    - The appointment is for the same service

    - The appointment is in the same time slot

    Also if the slot is not available it will not offer for another slot on the same day (different hour) but on another date.

    And most important, it doesn't work for:

    - 2 different appointments (for the same or different service) if one does NOT use the new recurring appointment feature, for example if you want to choose several appointments for the same day or several appointments not in the same time slot…

    Why not instead making a visual "click to choose" system. Show a calendar view with available slots and permit the customer to click and choose. No complicated and stiff form.

    I'll manage for now as I have other things to do then working on this plugin, but I'm going to find another solution. I can't come and ask for help or go into PHP each time I need something. It defeats the purpose of a bought plugin. It is now a time and money problem.

  • [deleted] replied

    Hello campanhubert, 

    Sorry to hear you are disappointed with the update of Amelia.

    We implemented now Recurring appointments feature, so booking one service with recurring appointments. There isn't a possibility to book multiple services or different time slots in the booking process, that is another feature which we don't have yet, unfortunately. We have it in our to do list but for now we can't say when it will be implemented. With this recurring feature, customers can now book one service and multiple appointments for that service at once in Amelia. On the booking step  where there is a list of recurring appointments customers can edit each appointment and choose date/time slot they want, if they need that. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help. 

  • Raghuvir replied

    Hi Hubert, 

    I'm in the same boat as you. So there is no defined workaround as Amelia stated in some of their previous responses looks like? This is of course a bummer for my business too. I'm certainly surprised myself too that such a basic functionality doesn't exist. And yes, the marketing material doesn't call out the constraints at all - its a gimmick to sell the product. I'm beginning to regret my purchase as well. 

  • [deleted] replied

    Hi Raghuvir,

    There is a possibility of booking more appointments in Amelia with the Recurring appointments or the Packages feature, so please check them out to see if they would fit your business needs. If the needed time slots for booking are always connected (one after another), please check the Extras option in Services, as well. 

    It isn't possible to book multiple time slots at once with the regular appointment booking (without using packages or recurring appointments), unfortunately. We do have a plan to work on improving the WooCommerce integration to make this possible using WooCommerce in the near future, but for now, we can't say precisely when this could be implemented. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help. 

  • Craig Brown replied

    I can't believe people can't book multiple time slots, so many times I wanted to use Amelia and can't because it's missing a very basic feature.

  •  2,572
    Aleksandar replied

    Thank you for your feedback, Craig.

    Our team is going to work on allowing multiple time slot booking in the upcoming months, but at the moment it can only be done by using Packages or recurring appointments features.

    Since the feature hasn't been developed yet, we'd appreciate it if you could tell us what flow you expect to see - how would a customer book multiple time slots? Would that be related to one service only, or multiple services, would you (as an admin) be able to limit the amount of appointments booked at the same time?

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Craig Brown replied

    Hi Aleksandar, 

    the flow would seem simple to me, exactly how it is now, but you can click / unclick time slots, instead of only being able to click one slot, you can click multiple slots.
    It would be for multiple services, just like any ecommerce where you are directed to the acc / checkout or keep shopping,  and I have no reason to limit how many slots people could book, but other users might find that useful.

  •  2,572
    Aleksandar replied

    Thank you for your feedback, Craig, I will forward it to our development team, so they have an idea of how this should be approached when they start developing this feature.

    I hope it will be included relatively soon.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Mikael Morén replied

    I'm trying to add multiple appointments before I checkout in WooCommerce - My problem is that the product in the cart just UPDATES to the latest appointment I put into the cart - Instead of ADDING a new product into the cart. 

    Please tell me you have this fixed by now, this really seams like a must have functionality in your plugin. 

    Best regards // Micke 

  •  2,572
    Aleksandar replied

    Hello Micke

    The integration works this way, and it doesn't accept more than one product if an Amelia product is present.  The workaround provided before works again, so you could make changes to /wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php file by commenting this line:

    $wooCommerceCart->remove_cart_item($wc_key);

    Like this:

    9593492599.png

    This should allow you to add more than one appointment to the cart.

    Unfortunately, it's the only workaround for adding multiple appointments and/or events to the cart.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Mikel replied

    Hi!!

    Is there any news about this?? It´s a bit frustrating that the customer can't make multiple appointments, for multiple services easily without using inflexible recurring appointments, packages that delay the buying experience or any other "patch". The "connecting line" you show, how does it works?? When you buy a "booking" plugin, you expect it to work fine, and easily for the customer, including the multiple appointment option with an intuitive interface without touching codes... (i really don't know how to do that, I found the line as you type it but then what can i do?)

    Apart from that we are pretty happy with Amelia but if this can be fixed in the future (something we think it had to be done from the beginning considering this is an appointment plugin) then it will be perfect.


  •  2,572
    Aleksandar replied

    Hello Mikel

    In order for Amelia to add multiple appointments in a cart/checkout, it first needs to have its own Cart and Checkout and Amelia doesn't have that. It's created for booking individual appointments, recurring appointments, or packages (if you have a Pro or a Developer license). Even if we rule out packages, your customers would still delay the buying experience since they'd need to add multiple appointments to the cart/checkout.

    Our development team will work on adding the possibility of booking multiple appointments in the future, but it's still on the drawing board. We'd appreciate your feedback on what the flow should be from a user's perspective. We'd need to adapt the current design (which, upon clicking on a date expands the time slots) and allow multi-day selection within one calendar (something packages can do when only one service is included in a package) or create a new functionality that will function in a different way, so your input is valuable to us.

    As for the code modification, all you need to do is access the file wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php, hit CTRL+F to find "$wooCommerceCart->remove_cart_item($wc_key);" and once you find it, add two forward slashes in front, so the line is commented. So instead of that line looking like this:

    $wooCommerceCart->remove_cart_item($wc_key);

    It should look like this:

    //$wooCommerceCart->remove_cart_item($wc_key);

    That's basically it. However, when a customer adds one appointment to the cart, they'll need to go back to the booking page, book another appointment and add it to the cart. Then, if they want to add a new appointment, they need to go back to the booking page, book another appointment and add it to the cart, and so on.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Stéphane Gernez replied

    ok

  • Ooi replied

    Hi. Aleksandar, may i know is multiple appointment already possible now?

  •  2,572
    Aleksandar replied

    Hello Ooi.

    Not yet, but it's currently in the testing phase.

    Our developers said that the cart feature should be included in the 2nd update from now unless something goes wrong, so you can expect it within a month or so.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Tim replied

    Hello - any update to this feature or expected arrival of it? I did not see it in the change logs - unless I missed it...

  •  2,572
    Aleksandar replied

    Hello Tim.

    The checkout is still being tested. The feature impacts the bookings, and in order not to corrupt the current logic, we need to be 100% sure that the cart is ready before it's released.

    Keep an eye on our change log as it will be listed in there once it's released. I can't say for sure when it will be done, but I do hope it will be included in our upcoming large release (6.3).

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Marc replied

    Hello - any update to this feature or expected arrival of it? I did not see it in the change logs - unless I missed it...

  •  2,572
    Aleksandar replied

    Hi Marc.

    The Checkout is not released yet. There were some issues with it, so it went back to our developers.

    I don't know how long it'll take them to resolve the issues encountered, but I hope it will be soon.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Ben Bower replied

    Hello,

    I really love Amelia, however there are two significant issues I have discovered with it:

    1. The inability for multiple items to be added to the cart is a problem.  Our customers routinely purchase multiple classes at once, not being able to do so is a frustration (one that is apparently shared by many, reading through the other comments).

    2. Our company sells both classes and products, and we need to display a lot of information with some of our classes (more than can be included with a typical small booking thumbnail) so most classes need their own product pages.  We are looking for a solution that integrates seamlessly with woocommerce products and adds a booking feature to them.  Although we are able to add Amelia modules to woocommerce product page templates, we haven't been able to sync them up so that the information is shared seamlessly.  For example if the price is set in Amelia, it doesn't show up in woocommerce or in the woocommerce catalog view for the product.  If the price set in woocommerce, it doesn't sync with Amelia even if the products are linked.  When you click on something on the Amelia calendar it opens the booking thumbnail in Amelia, and doesn't link to the woocommerce product page for that product.  If products are built in Amelia, there isn't an easy way to get that information to translate to the woocommerce product so it can be used in woocommerce product categories and catalogs.  This is especially important because we want to group classes with related non-bookable products.

    We were really hoping for Amelia to be more of a woocommerce booking extension, but apparently it is more of it's own environment and really only uses woocommerce for processing payments.  It's really too bad, because Amelia is a very modern and polished looking product otherwise and probably really great if someone only does simple bookings.

  •  2,572
    Aleksandar replied

    Hello Ben.

    Thank you for reaching out to us.

    1. As mentioned before in this ticket, we are working on our own cart that will allow multiple appointments to be added to WooCommerce's cart as well. At the moment, there's a workaround mentioned in this comment, so you should be able to use that. As a Pro license holder, you'd also be able to create Packages that would allow your customers to book multiple appointments at once so that could serve as another workaround until our cart is released.

    2. Editing Amelia's services, you can link WooCommerce products so if the product in WooCommerce is the same as the appointment that's booked in Amelia, why wouldn't it be the same price? This way, once you configure the same price for Amelia's services, and for WooCommerce products that are linked to those services, you'd have no discrepancies with the prices. Also, in Service Settings, you can copy/paste the description from WooCommerce's product, and you can also use the %service_description% placeholder in Settings/Payments/WooCommerce Description in order to show the information about the appointment that's being booked.

    Amelia never was, nor will it ever be a WooCommerce add-on. As you mentioned, WooCommerce is only used as a payment method in Amelia. We've improved it over the years, so it can also automatically update the appointment status and payment status of an order, depending on the WooCommerce's status (if you configure correct rules in Amelia/Settings/Payments/WooCommerce), but it's a booking plugin, designed and developed by TMS, intended to be used by everyone, not just WooCommerce users.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Ben Bower replied

    Hello,

    Thank you for your reply.  Although your workarounds could work, they are cumbersome and we were really hoping for something that would centralize the features into one product without having to do any copying and pasting to keep things updated.  What we really need is a booking extension for Woocommerce products.  Since, as you stated, that is not the purpose of Amelia nor will it ever be, we are looking into other solutions.  Thank you.

  •  2,572
    Aleksandar replied

    I understand, Ben.

    If you come across a use case where you need a booking solution outside of WooCommerce, please feel free to reach out to us again.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Remco replied

    Hi, did anyone find an alternative? I have the same issue

  •  2,572
    Aleksandar replied

    Hello Remco.

    If you're inquiring about the Cart feature, that was introduced in November 2023.

    If you have any other questions related to this ticket, please ask. Otherwise, please open a new ticket since this one has been dragging on since 2020, and it's hard to keep track of all the topics covered in it.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • George Hodder replied

    if we have the add to cart feature, can we have multiple booked services under the same time slot?

  •  2,572
    Aleksandar replied

    Hello George.

    The cart allows you to book multiple appointments during a single booking session, but there are no settings or functionalities in Amelia that would allow you to book multiple services during a single time slot.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  3
    Layla replied

    I have the same problem, but then for Events. I hightly custimzed Amelia and now run into the problem that people can't book multiple events in one booking. I also use Woo for this. I've tried the php code solution, but it doesn't work for Events (and I was also wondering what happens with a software update - doesn't it get whiped out?)

    I really, really hope this can be solved somehow. I've bought the lifetime deal and I am sure I will run into this issue in the future as well. Any suggestions to solve this Aleksander? Thank you!

  •  2,572
    Aleksandar replied

    Hello Layla.

    There's a new (hidden) option in Amelia Settings/Payments. When you expand WooCommerce, switch to Event rules and right-click just below the last rule and click "Inspect":

    2273278113.png

    Then, in the console, click on the third line shown in the screenshot below:

    2157673400.png

    On the right, un-check "display: none;":

    5074775930.png

    Once you do this, the new slider will appear below the rules:

    4886445756.png

     

    Enable it, and save the settings. This should allow Amelia to add multiple events into WooCommerce cart without worrying about the code on updates.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  3
    Layla replied

    Thank you Aleksandar, this worked, awesome :D

    I hope you can implement it in a 'normal' way soon - it was a bit of a search to find the code line.

  •  2,572
    Aleksandar replied

    You're welcome, Layla, glad I could help.

    Amelia is currently being redesigned so, hopefully, the new admin dashboard will be a lot more intuitive. We won't be making any changes to the existing dashboard until the redesign is complete.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables