Remove countries from checkout in config/shop.php
Posted: 28 Aug 2016, 13:24
Hi, I am trying to remove all countries except for a few from checkout address option. I do not want to tamper with core configuration and I am wondering if it is possible to do it in config/shop.php.
If I try the following, it just changes the first two countries in the list:
The following code appears to do nothing at all:
What can I do if I just want those two countries to be available for users to select from?
If I try the following, it just changes the first two countries in the list:
Code: Select all
'client' => array(
'html' => array(
'checkout' => array(
'standard' => array(
'address' => array(
'countries' => array(
'[0]' => 'US',
'[1]' => 'GB',
),
),
),
),
),
),
Code: Select all
'client' => array(
'html' => array(
'checkout' => array(
'standard' => array(
'address' => array(
'countries' => array(
'US',
'GB',
),
),
),
),
),
),