Thanks for the details Mike.
Thread Starter
123Ann
(@123ann)
First and foremost, Thanks for the quick reply.
I have followed the code solution, https://docs.woothemes.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/
I have added the shipping phone to the checkout page, but it’s not displayed on the admin or being sent in the order email. For some reason it isn’t being captured. This is what I have added in my functions.php:
// Hook in
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );
// Our hooked in function – $fields is passed via the filter!
function custom_override_checkout_fields( $fields ) {
$fields[‘shipping’][‘shipping_phone’] = array(
‘label’ => __(‘Phone’, ‘woocommerce’),
‘placeholder’ => _x(‘Phone’, ‘placeholder’, ‘woocommerce’),
‘required’ => false,
‘class’ => array(‘form-row-wide’),
‘clear’ => true
);
return $fields;
}
Kindly review & please guide me to solve.
Read the entire doc-it goes into details on emails later on.
Thread Starter
123Ann
(@123ann)
Hello,
I have purchased “Checkout Field Editor” plugin https://docs.woothemes.com/document/checkout-field-editor/
Added shipping phone number field and it’s working fine.
I have used “Display Options” to display fields within email.
But in “New customer order” email, the shipping phone number is showing misaligned.
How could I fix the alignment issue within the “New customer order” email.
Kindly please help & guide me to solve this issue.