diff --git a/config/app.php b/config/app.php index a3cf7f964..4efe78849 100755 --- a/config/app.php +++ b/config/app.php @@ -102,6 +102,8 @@ return [ | Ensure it is uppercase and reflects the 'code' column of the | countries table. | + | for example: DE EN FR + | (use capital letters!) */ 'default_country' => null, diff --git a/packages/Webkul/Checkout/src/Cart.php b/packages/Webkul/Checkout/src/Cart.php index 5da54ae3b..3f69fbe1d 100755 --- a/packages/Webkul/Checkout/src/Cart.php +++ b/packages/Webkul/Checkout/src/Cart.php @@ -764,7 +764,7 @@ class Cart function __construct() { - $this->country = config('app.default_country'); + $this->country = strtoupper(config('app.default_country')); } }; }