Hi. We use woocommerce for our checkout and want customers to be able to book different services in one purchase. I found an article about creating additional products and linking them to Amelia Services. I set up new products, made them virtual just like the default "appointment" product and linked each product to the service through service settings/payments tab.
When we try to book an appointment we get an error in the woocommerce basket:
Update: Instead of creating a new product I have duplicated the default appointment product and changed the details based on each service. We can now add the service to basket but we are still not able to add a different service in the same basket. This is very strange, each service has its own product and it should be working this way?
I have also disabled "individually sold" option to see if this is the issue why it's not letting to add different services to basket.
I've enabled the "Cart" option in amelia, we can't even add 2 different services in amelias cart. When We click book another, after choosing another service the first selected service is removed automatically and the cart is empty.
And what I also noticed is that, the additional services don't get added to one cart, instead the services selected have a cart icon showing in the service list. So it creates a separate cart for each service....
The integration works this way, and it doesn't accept more than one product if an Amelia product is present. There's a possible workaround, though.
Please note that this hasn't been thoroughly tested, but a few of our customers have confirmed that it works as expected.
Please access this script: ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php and comment line 604, in the "addToCart" method:
$wooCommerceCart->remove_cart_item($wc_key);
This should allow you to add more than one appointment in the cart.
Please let me know if it works.
In addition to this, you can take a look at the cart feature in Amelia at the following link.
However, after adding different services to basket the total subtotal and cart total doesn't update.. Please see screenshot attached.
I've tried entering the woocommerce product price but that didn't fix the issue. So it seems like only one service add to the subtotal and cart totals.
You mentioned that few of our customers have confirmed that it works as expected, so I guess they didn't have the issue updating costs? Is there a way to fix this please?
The cart feature is only adding one product to the cart… if i click to book more, the first selected service is replaced with the chosen additional service. i explained this in previous message. So there is no way to fix the total basket amount and subtotals?
If it is working for other customers there has to be a solution?
hello, thanks i will try this out. May i please ask when my other ticket will be responded? I raised it 7 hours ago. That ticket is urgent as we have a serious issue with the booking after most recent update
Hi. We use woocommerce for our checkout and want customers to be able to book different services in one purchase. I found an article about creating additional products and linking them to Amelia Services. I set up new products, made them virtual just like the default "appointment" product and linked each product to the service through service settings/payments tab.
When we try to book an appointment we get an error in the woocommerce basket:
"Sorry, this product cannot be purchased."
Any idea why is this?
Thanks
Update: Instead of creating a new product I have duplicated the default appointment product and changed the details based on each service. We can now add the service to basket but we are still not able to add a different service in the same basket. This is very strange, each service has its own product and it should be working this way?
I have also disabled "individually sold" option to see if this is the issue why it's not letting to add different services to basket.
I've enabled the "Cart" option in amelia, we can't even add 2 different services in amelias cart. When We click book another, after choosing another service the first selected service is removed automatically and the cart is empty.
And what I also noticed is that, the additional services don't get added to one cart, instead the services selected have a cart icon showing in the service list. So it creates a separate cart for each service....
Hello Andzelika,
Thank you for reaching out to us.
The integration works this way, and it doesn't accept more than one product if an Amelia product is present. There's a possible workaround, though.
Please note that this hasn't been thoroughly tested, but a few of our customers have confirmed that it works as expected.
Please access this script: ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php and comment line 604, in the "addToCart" method:
This should allow you to add more than one appointment in the cart.
Please let me know if it works.
In addition to this, you can take a look at the cart feature in Amelia at the following link.
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi, thanks for that.
That part of code on my end was at line 1169.
It does work, thank you.
However, after adding different services to basket the total subtotal and cart total doesn't update.. Please see screenshot attached.
I've tried entering the woocommerce product price but that didn't fix the issue. So it seems like only one service add to the subtotal and cart totals.
You mentioned that few of our customers have confirmed that it works as expected, so I guess they didn't have the issue updating costs? Is there a way to fix this please?
Thanks
Attached files: Screenshot 2024-01-23 at 19.34.20.png
hi there, just wanted to see if you have any update on this please?
Thanks
Hello Andzelika,
Thank you for the update on this.
For this purpose, I would suggest that you use the cart feature in Amelia that you can check at the following link.
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
The cart feature is only adding one product to the cart… if i click to book more, the first selected service is replaced with the chosen additional service. i explained this in previous message. So there is no way to fix the total basket amount and subtotals?
If it is working for other customers there has to be a solution?
Thanks
Hello Andzelika,
Thank you for the update on this and for your patience.
Can you please provide me with the URL of the page with the booking form on your website and I will assist you with this?
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Andzelika,
I have passed this on to our testers and will provide you with an update on this as soon as possible.
I appreciate your patience.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi Uros, this ticket seems to be closed? Is there any update regarding my issue?
Thanks
Hello Andzelika,
The ticket was closed automatically.
We are still taking a look at this issue and will provide you with an update on it as soon as possible.
I appreciate your patience.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello. It has now been over 2 months of waiting. Do you have any update about this yet?
Thank you
Hello Andzelika,
Thank you for your patience on this.
We have since added a hidden option in Amelia that you can enable to make this work.
Please check the following video on how to enable that option.
Let me know if that works for you or not.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
hello, thanks i will try this out. May i please ask when my other ticket will be responded? I raised it 7 hours ago. That ticket is urgent as we have a serious issue with the booking after most recent update
Hello Andzelika,
Please let me know if that works for you.
We have responded to your ticket and will do it again as soon as possible.
I appreciate your patience.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hello Uros, I have enabled multiple booking through the hidden woocommerce setting. All seems to be working fine. Thank you.
Hello Andzelika,
Glad to hear that the issue has been resolved.
I will have this ticket closed now.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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