Woocommerce not synced correctly
-
I added new custom fields to woocommerce like the following:
add_filter( 'woocommerce_checkout_fields' , 'bones_add_field_and_reorder_fields', 99 ); function bones_add_field_and_reorder_fields( $fields ) { // Add New Fields $fields['billing']['billing_address_1'] = array( 'label' => __('Street address', 'naifcarecom2'), 'placeholder' => _x('', 'placeholder', 'naifcarecom2'), 'required' => true, 'class' => array('form-row-first'), 'clear' => true ); $fields['billing']['billing_houseno'] = array( 'label' => __('House number', 'naifcarecom2'), 'placeholder' => _x('', 'placeholder', 'naifcarecom2'), 'required' => true, 'class' => array('form-row-last'), 'clear' => true ); }
The very weird thing is that “House number” is correctly synced and I can find it in Loco > Themes > MyTheme > nl_NL.po while the first one not. So I can translate just one of those.
Can you help?
Note. To replicate the issue you just need to add something to the cart and go to the checkout. It’s all Dutch but you’ll see the english string.The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Woocommerce not synced correctly’ is closed to new replies.