sajeertk
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Error in address-i18n.js fileOpened a new issue in GitHub, you can mark this as resolved.
https://github.com/woocommerce/woocommerce/issues/20248I have investigated this further and found that the validation behavior is different when WooCommerce Stripe plugin is ENABLED and when NOT ENABLED.
Please see below findings (Please note that, all the below tests done by filling all the required fields except the custom required fields).
When WooCommerce Stripe plugin is not enabled
———————————————
1. Required validation is WORKING all time for the fields displayed using the below hooks,
woocommerce_checkout_before_customer_details
woocommerce_checkout_after_customer_details2. Required validation is WORKING all time for the fields displayed using the below hooks,
woocommerce_checkout_before_order_review
woocommerce_checkout_after_order_reviewWhen WooCommerce Stripe plugin enabled
——————————————
1. Required validation is NOT WORKING for the fields displayed using the below hooks,
woocommerce_checkout_before_customer_details
woocommerce_checkout_after_customer_details2. Required validation is working for the fields displayed using the below hooks only when the “Ship to a different address?” checkbox is checked,
woocommerce_checkout_before_order_review
woocommerce_checkout_after_order_reviewThanks…
.
- This reply was modified 8 years, 1 month ago by sajeertk.
Hi, it is very simple to reproduce please try below steps,
1. Add a custom field (required field) in checkout form with the help of below article.
https://docs.woocommerce.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/2. Click on CONTINUE TO PAY button after filling all checkout fields except the custom field (newly added one).