From 66a7b40bbc1d50cb32f28139fcb9308411f94d33 Mon Sep 17 00:00:00 2001 From: vishal-webkul Date: Fri, 17 Jul 2020 13:29:47 +0530 Subject: [PATCH] color attribute default swatch value should be selected as dropdown swatch - issue fixed #3488 --- .../Admin/src/Resources/views/catalog/attributes/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/attributes/edit.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/attributes/edit.blade.php index 5a4a4f707..fecc92d0e 100755 --- a/packages/Webkul/Admin/src/Resources/views/catalog/attributes/edit.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/catalog/attributes/edit.blade.php @@ -418,7 +418,7 @@ optionRowCount: 0, optionRows: [], show_swatch: "{{ $attribute->type == 'select' ? true : false }}", - swatch_type: "{{ $attribute->swatch_type }}", + swatch_type: "{{ $attribute->swatch_type == '' ? 'dropdown' : $attribute->swatch_type }}", isNullOptionChecked: false, idNullOption: null }