From b18b3cc21bfdfb17e16552db21865eb68b3d0811 Mon Sep 17 00:00:00 2001 From: Devansh Date: Mon, 9 May 2022 13:39:49 +0530 Subject: [PATCH 1/2] API Route Updated --- .../src/Resources/views/shop/checkout/onepage.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php index 6622d6a9c..126ef921f 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php @@ -201,7 +201,7 @@ }, fetchCountries: function () { - let countriesEndPoint = `${this.$root.baseUrl}/api/countries?pagination=0`; + let countriesEndPoint = `${this.$root.baseUrl}/api/countries?pagination=0&sort=id&order=asc`; this.$http.get(countriesEndPoint) .then(response => { From 203e5bb9b0a9985eebd4515ffe0629677868eb2e Mon Sep 17 00:00:00 2001 From: Devansh Date: Mon, 9 May 2022 16:21:22 +0530 Subject: [PATCH 2/2] Select Country Added --- .../views/shop/checkout/onepage/customer-new-form.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-new-form.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-new-form.blade.php index fa364bf04..18e93ce25 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-new-form.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage/customer-new-form.blade.php @@ -141,7 +141,7 @@ data-vv-as=""{{ __('shop::app.checkout.onepage.country') }}"" @change="validateForm('address-form')"> - + +