• It seems when customers leave their phone numbers and IF this numbers is a mobile, the country code gets automatically added to the mobile number, but not landlines, which is causing the export into other programmes to go wrong … how can this be set NOT to carry automatically the country code…
    example: 07900000000 BECOMES: 447900000000, where it needs to be: “7900000000”

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hi

    so if you edit order – you see “447900000000” in billing details?

    try this code

    // remove leading  44
    add_filter('woe_get_order_value_billing_phone',function ($value, $order,$fieldname) {
    	return preg_replace('#^44#','',$value);
    },10,3);
    Thread Starter Frankzappafication

    (@frankzappafication)

    Unfortunately I tried that but I am still getting the country code in the phone field IF it’s a mobile number.

    Plugin Author algol.plus

    (@algolplus)

    hi

    could you create new ticket and attach sample file and settings ?
    thanks, Alex

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Country Codes being exported wrongly’ is closed to new replies.