Hello everyone, By activating the integration with WooCommerce if a user purchases several services the shopping cart only shows the balance of the last service purchased and does not hold the other services purchased previously.
Is it possible to add more services to the WooCommerce shopping cart? We tried creating a virtual product for each service but the situation has not changed.
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,(it can be on some other line) in the "addToCart" method:
$wooCommerceCart->remove_cart_item($wc_key);
This should allow you to add more than one appointment in the cart.
Hope this helps. Also, we plan to implement the cart feature in Amelia this year possibly in the next couple of months.
If you have any more questions please open a new separate ticket for each question and we will gladly help you there.
Hello everyone,
By activating the integration with WooCommerce if a user purchases several services the shopping cart only shows the balance of the last service purchased and does not hold the other services purchased previously.
Is it possible to add more services to the WooCommerce shopping cart? We tried creating a virtual product for each service but the situation has not changed.
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,(it can be on some other line) in the "addToCart" method:
This should allow you to add more than one appointment in the cart.
Hope this helps. Also, we plan to implement the cart feature in Amelia this year possibly in the next couple of months.
If you have any more questions please open a new separate ticket for each question 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