ptitcali
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Hi @djakuza
It doesn’t look related to the main question, so you might want to create a new thread?ok, I found a workaround for now.
The problem was coming from wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-checkout-handler.php on line 120
so I added on line 120 the following:if (null !== (WC()->cart)){ if ( ! WC()->cart->needs_shipping() ) { $not_required_fields = array( 'billing_address_1', 'billing_city', 'billing_state', 'billing_postcode' ); foreach ( $not_required_fields as $not_required_field ) { if ( array_key_exists( $not_required_field, $billing_fields ) ) { $billing_fields[ $not_required_field ]['required'] = false; } } } }[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
and it seems to work.
- This reply was modified 9 years, 1 month ago by bdbrown.
Hi there
it looks like it conflicts with WooCommerce Checkout Field Editor, but I don’t know how to solve this. Help anyone?On my side, with 2.0.5, the issue is solved.
Same issue here with V2.0.2, updater doesn’t show any new version.
Viewing 5 replies - 1 through 5 (of 5 total)