Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DomPixie/863de545062e54e166af1eb6d6338362 to your computer and use it in GitHub Desktop.
Save DomPixie/863de545062e54e166af1eb6d6338362 to your computer and use it in GitHub Desktop.
Magento 2 hard coded config values config.php
bin/magento app:config:dump
app/etc/config.php
[...]
'Vertex_Tax' => 1,
'Vertex_AddressValidation' => 1,
'Ves_All' => 1,
'Ves_PageBuilder' => 1,
'WebShopApps_MatrixRate' => 1,
'WeltPixel_Backend' => 1,
'WeltPixel_Quickview' => 1,
'Xigen_BackInStockDate' => 1,
'Xigen_Bannermanager' => 1,
'Xigen_GoogleEcommerce' => 1,
'Xigen_Index' => 1,
'Xigen_PhpCheck' => 1,
'Xigen_SearchFix' => 1,
'Xigen_StatusFix' => 1,
'Xumulus_AdvanceBundles' => 1,
'Yotpo_Yotpo' => 1
],
'system' => [
'default' => [
'general' => [
'country' => [
'eu_countries' => 'AT,BE,BG,CY,CZ,DK,EE,FI,FR,DE,GR,HR,HU,IE,IT,LV,LT,LU,MT,NL,PL,PT,RO,SK,SI,ES,SE,GB',
'optional_zip_countries' => 'HK,IE,MO,PA,GB',
'allow' => 'AF,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AX,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BL,BT,BO,BQ,BA,BW,BV,BR,IO,VG,BN,BG,BF,BI,KH,CM,CA,CD,CV,KY,CF,TD,CL,CN,CX,CW,CC,CO,KM,CG,CK,CR,HR,CU,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GG,GH,GI,GR,GL,GD,GP,GU,GT,GN,GW,GY,HT,HM,HN,HK,HU,IS,IM,IN,ID,IR,IQ,IE,IL,IT,CI,JE,JM,JP,JO,KZ,KE,KI,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,ME,MF,MO,MK,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,FX,MX,FM,MD,MC,MN,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,KP,MP,NO,OM,PK,PW,PA,PG,PY,PE,PH,PN,PL,PS,PT,PR,QA,RE,RO,RS,RU,RW,SH,KN,LC,PM,VC,WS,SM,ST,SA,SN,SC,SL,SG,SK,SI,SB,SO,ZA,GS,KR,ES,LK,SD,SR,SJ,SZ,SE,CH,SX,SY,TL,TW,TJ,TZ,TH,TG,TK,TO,TT,TN,TR,TM,TC,TV,VI,UG,UA,AE,GB,US,UM,UY,UZ,VU,VA,VE,VN,WF,EH,XK,YE,ZM,ZW',
'default' => 'GB'
],
'locale' => [
'firstday' => '0',
'weekend' => '0,6',
'datetime_format_long' => '%A, %B %e %Y [%I:%M %p]',
'datetime_format_medium' => '%a, %b %e %Y [%I:%M %p]',
'datetime_format_short' => '%m/%d/%y [%I:%M %p]',
'date_format_long' => '%A, %B %e %Y',
'date_format_medium' => '%a, %b %e %Y',
'date_format_short' => '%m/%d/%y',
'language' => 'en',
'code' => 'en_GB',
'timezone' => 'Europe/London',
'weight_unit' => 'kgs'
],
'single_store_mode' => [
'enabled' => '0'
],
'region' => [
'display_all' => '1',
'state_required' => 'AU,BR,CA,CH,CN,CO,EE,ES,HR,IN,LT,LV,MX,PL,RO,US'
],
'store_information' => [
'hours' => null,
'country_id' => 'GB'
]
]
]
]
];
bin/magento setup:upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment