Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter agdirect

    (@agdirect)

    Sorry plugin must of updated and defaulted back. Here is the correct one.

    <?php return array(
    ‘title’ => ($_ = __(‘United Kingdom (UK)’, ‘woocommerce’)) === ‘United Kingdom (UK)’ ? ‘United Kingdom’ : $_,
    ‘country’ => ‘GB’,
    ‘items’ => array(
    ‘BE’ => ‘Bedfordshire’,
    ‘BK’ => ‘Berkshire’,
    ‘BR’ => ‘Bristol’,
    ‘BU’ => ‘Buckinghamshire’,
    ‘CA’ => ‘Cambridgeshire’,
    ‘CH’ => ‘Cheshire’,
    ‘CO’ => ‘Cornwall’,
    ‘CU’ => ‘Cumbria’,
    ‘DE’ => ‘Derbyshire’,
    ‘DV’ => ‘Devon’,
    ‘DO’ => ‘Dorset’,
    ‘DU’ => ‘Durham’,
    ‘ES’ => ‘East Sussex’,
    ‘ER’ => ‘East Riding’,
    ‘EX’ => ‘Essex’,
    ‘GL’ => ‘Gloucestershire’,
    ‘GR’ => ‘Greater London’,
    ‘GM’ => ‘Greater Manchester’,
    ‘HA’ => ‘Hampshire’,
    ‘HE’ => ‘Herefordshire’,
    ‘HT’ => ‘Hertfordshire’,
    ‘IW’ => ‘Isle of Wight’,
    ‘KE’ => ‘Kent’,
    ‘LA’ => ‘Lancashire’,
    ‘LE’ => ‘Leicestershire’,
    ‘LI’ => ‘Lincolnshire’,
    ‘LO’ => ‘City of London’,
    ‘ME’ => ‘Merseyside’,
    ‘NO’ => ‘Norfolk’,
    ‘NY’ => ‘North Yorkshire’,
    ‘NS’ => ‘Northamptonshire’,
    ‘NL’ => ‘Northumberland’,
    ‘NT’ => ‘Nottinghamshire’,
    ‘OX’ => ‘Oxfordshire’,
    ‘RU’ => ‘Rutland’,
    ‘SH’ => ‘Shropshire’,
    ‘SO’ => ‘Somerset’,
    ‘SM’ => ‘South Humberside’,
    ‘SY’ => ‘South Yorkshire’,
    ‘SF’ => ‘Staffordshire’,
    ‘SU’ => ‘Suffolk’,
    ‘SR’ => ‘Surrey’,
    ‘TW’ => ‘Tyne and Wear’,
    ‘WA’ => ‘Warwickshire’,
    ‘WM’ => ‘West Midlands’,
    ‘WS’ => ‘West Sussex’,
    ‘WY’ => ‘West Yorkshire’,
    ‘WI’ => ‘Wiltshire’,
    ‘WO’ => ‘Worcestershire’,
    ‘ABD’ => ‘Scotland / Aberdeenshire’,
    ‘ANS’ => ‘Scotland / Angus’,
    ‘ARL’ => ‘Scotland / Argyll & Bute’,
    ‘AYR’ => ‘Scotland / Ayrshire’,
    ‘CLK’ => ‘Scotland / Clackmannanshire’,
    ‘DGY’ => ‘Scotland / Dumfries & Galloway’,
    ‘DNB’ => ‘Scotland / Dunbartonshire’,
    ‘DDE’ => ‘Scotland / Dundee’,
    ‘ELN’ => ‘Scotland / East Lothian’,
    ‘EDB’ => ‘Scotland / Edinburgh’,
    ‘FIF’ => ‘Scotland / Fife’,
    ‘GGW’ => ‘Scotland / Glasgow’,
    ‘HLD’ => ‘Scotland / Highland’,
    ‘LKS’ => ‘Scotland / Lanarkshire’,
    ‘MLN’ => ‘Scotland / Midlothian’,
    ‘MOR’ => ‘Scotland / Moray’,
    ‘OKI’ => ‘Scotland / Orkney’,
    ‘PER’ => ‘Scotland / Perth and Kinross’,
    ‘RFW’ => ‘Scotland / Renfrewshire’,
    ‘SB’ => ‘Scotland / Scottish Borders’,
    ‘SHI’ => ‘Scotland / Shetland Isles’,
    ‘STI’ => ‘Scotland / Stirling’,
    ‘WLN’ => ‘Scotland / West Lothian’,
    ‘WIS’ => ‘Scotland / Western Isles’,
    ‘AGY’ => ‘Wales / Anglesey’,
    ‘GNT’ => ‘Wales / Blaenau Gwent’,
    ‘CP’ => ‘Wales / Caerphilly’,
    ‘CF’ => ‘Wales / Cardiff’,
    ‘CAE’ => ‘Wales / Carmarthenshire’,
    ‘CR’ => ‘Wales / Ceredigion’,
    ‘CW’ => ‘Wales / Conwy’,
    ‘DEN’ => ‘Wales / Denbighshire’,
    ‘FLN’ => ‘Wales / Flintshire’,
    ‘GLA’ => ‘Wales / Glamorgan’,
    ‘GWN’ => ‘Wales / Gwynedd’,
    ‘MT’ => ‘Wales / Merthyr Tydfil’,
    ‘MON’ => ‘Wales / Monmouthshire’,
    ‘PT’ => ‘Wales / Neath Port Talbot’,
    ‘NP’ => ‘Wales / Newport’,
    ‘PEM’ => ‘Wales / Pembrokeshire’,
    ‘POW’ => ‘Wales / Powys’,
    ‘RT’ => ‘Wales / Rhondda Cynon Taff’,
    ‘SS’ => ‘Wales / Swansea’,
    ‘TF’ => ‘Wales / Torfaen’,
    ‘WX’ => ‘Wales / Wrexham’,
    ‘ANT’ => ‘Northern Ireland / County Antrim’,
    ‘ARM’ => ‘Northern Ireland / County Armagh’,
    ‘BEL’ => ‘Northern Ireland / City of Belfast’,
    ‘DOW’ => ‘Northern Ireland / County Down’,
    ‘FER’ => ‘Northern Ireland / County Fermanagh’,
    ‘LDY’ => ‘Northern Ireland / County Londonderry’,
    ‘DER’ => ‘Northern Ireland / City of Derry’,
    ‘TYR’ => ‘Northern Ireland / County Tyrone’,
    ),
    );

    Thread Starter agdirect

    (@agdirect)

    Hi it would only add the item price and would not zero the price to offer free samples.
    We sell per square meter and also use measurement calculator. When you added a free sample to cart it would add it but show the square meter price and not free. This code has sorted that.

Viewing 2 replies - 1 through 2 (of 2 total)