Haloo Gemeinschaft,
habe das Problem, dass ich bei der Kasse das Telefonfeld nicht als Pflichtfeld bekomme
das ist mein code in der wc_countries
// Add email and phone fields.
if ( 'billing_' === $type ) {
$address_fields['billing_phone'] = array(
'label' => __( 'Phone', 'woocommerce' ),
'required' => true,
'type' => 'tel',
'class' => array( 'form-row-first' ),
'validate' => array( 'phone' ),
'autocomplete' => 'tel',
'priority' => 100,
);