Hello. I want to let my users add more than one booking in the same cart. But every time they add a booking the previous one is removed from the cart. Help with it please
Unfortunately, currently, this feature is not built-in in Amelia. Amelia doesn't have cart feature yet but we are working on it, and this should be implemented in the future, we do not have eta at this time.
But if you mean on WooCommerce cart then 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.
Hello. I want to let my users add more than one booking in the same cart. But every time they add a booking the previous one is removed from the cart. Help with it please
thanks
Hello Kalimah,
Thank you for reaching out to us.
Unfortunately, currently, this feature is not built-in in Amelia. Amelia doesn't have cart feature yet but we are working on it, and this should be implemented in the future, we do not have eta at this time.
But if you mean on WooCommerce cart then 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.
Looking forward to your reply.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Perfect for me.
Line 1019 ;)
Hello Eric,
W are glad that we were able to help you. If you have any more questions please open another ticket and we will gladly help you there.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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