I'm trying to add custom fields to the "Address" area, in the YITH POS for the WooCommerce plugin.
I know this is a commercial plugin. I've tried contacting support, but they are very slow. I'm just trying to locate the original location of the current fields, so I can modify it as I find it suitable.
Please check this (Screenshot) & this one (Screenshot)
You can access the pos system interface from this link: https://rightmass.com/pos/
I've tried adding custom fields into the woocommerce checkout page by using the following code, hoping it would work, on this plugin, too - but it didn't work.
// Hook in
add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
// Add custom fields to shipping area
function custom_override_checkout_fields( $fields ) {
$fields['shipping']['shipping_phone'] = array(
'label' => __('New Custom Field', 'woocommerce'),
'placeholder' => _x('New Custom Field', 'placeholder', 'woocommerce'),
'required' => false,
'class' => array('form-row-wide'),
'clear' => true
);
return $fields;
}