Comments Wolfgang Freudenberger started the conversationAugust 8, 2023 at 1:29pmHi guys, We had some issues in the past with Amelia and we finally solved it with Vendidero, the Dev of Germanized for Woocommerce. Can you please add a check in the file ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php: $wooCommerceCart->calculate_totals(); to if ( ! doing_action( 'woocommerce_before_calculate_totals' ) ) { $wooCommerceCart->calculate_totals(); } so there is no unlimited recalculation of the totals? It can be simulated with this code in functions.php from the template: add_action( 'woocommerce_before_calculate_totals', function() { $checkout = WC()->checkout(); $checkout->get_value( 'test_yo' ); } ); Thanks for fixing that in your future releases! Wolfgang Freudenberger repliedAugust 8, 2023 at 1:48pmPS: Vendidero posted it to your community board more detailed:https://wordpress.org/support/topic/infinite-loop-caused-by-amelia-woocommerce-cart-integration/ 1,574Uroš repliedAugust 9, 2023 at 11:18amHello,Thank you for reaching out to us and for bringing it to our attention.We have passed this to our developers and this will be resolved for one of the future updates.We will keep you updated on this matter.Kind Regards, Uros Jovanovic[email protected] Rate my supportTry our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and 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 TablesHeinz-Wilhelm repliedNovember 21, 2023 at 9:58amHi,Can you please bring this up to your development? This fix is about 3 lines and should be implemented within seconds. Thanks. 1,574Uroš repliedNovember 22, 2023 at 1:28pmHello Heinz,Thank you for reaching out to us.I will have this checked with out developers to see what the status is.I appreciate your patience.Kind Regards, Uros Jovanovic[email protected] Rate my supportTry our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and 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 Sign in to reply ...
Hi guys,
We had some issues in the past with Amelia and we finally solved it with Vendidero, the Dev of Germanized for Woocommerce.
Can you please add a check in the file ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php:
$wooCommerceCart->calculate_totals();
to
if ( ! doing_action( 'woocommerce_before_calculate_totals' ) ) { $wooCommerceCart->calculate_totals(); }
so there is no unlimited recalculation of the totals? It can be simulated with this code in functions.php from the template:
add_action( 'woocommerce_before_calculate_totals', function() { $checkout = WC()->checkout(); $checkout->get_value( 'test_yo' ); } );
Thanks for fixing that in your future releases!
PS: Vendidero posted it to your community board more detailed:
https://wordpress.org/support/topic/infinite-loop-caused-by-amelia-woocommerce-cart-integration/
Hello,
Thank you for reaching out to us and for bringing it to our attention.
We have passed this to our developers and this will be resolved for one of the future updates.
We will keep you updated on this matter.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and 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
Hi,
Can you please bring this up to your development? This fix is about 3 lines and should be implemented within seconds.
Thanks.
Hello Heinz,
Thank you for reaching out to us.
I will have this checked with out developers to see what the status is.
I appreciate your patience.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and 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