TL;DR
Conditional checkout fields may not work seamlessly with all styles in Donation Platform for WooCommerce due to the way the plugin dynamically updates the cart without reloading the page. Switching to Donation Form Style 4 can resolve most issues, as it redirects users to the checkout, where conditional logic is applied during page load. Alternatively, reach out to developers of conditional field plugins to enable dynamic updates.
Understanding the Issue
When using conditional checkout fields with Donation Platform for WooCommerce, you might encounter issues where the conditional logic does not behave as expected. This is because the plugin dynamically adds and removes products from the cart without reloading the page. Most conditional checkout field plugins only initialize their logic during the initial page load. As a result, they fail to adjust the fields dynamically when the cart updates.
Suggested Solutions
1. Use Donation Form Style 4
To ensure compatibility with most conditional logic rules, switch to Donation Form Style 4. In this style:
Users are redirected to the checkout page after completing the donation form.
Conditional logic is applied properly because the checkout page is reloaded.
2. Collaborate with Plugin Developers
If switching styles is not an option, consider contacting the developers of your conditional checkout field plugin. Request them to add support for dynamically applying conditional logic when the cart contents are updated. This feature would make their plugin more compatible with dynamic cart updates in Donation Platform for WooCommerce.
Conclusion
Dynamic cart updates in Donation Platform for WooCommerce enhance user experience but can cause limitations with some plugins. Switching to a compatible style or collaborating with plugin developers can help overcome these challenges and ensure a smooth checkout experience for your donors.