diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/products/create.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/products/create.blade.php
new file mode 100644
index 000000000..70b06f8be
--- /dev/null
+++ b/packages/Webkul/Admin/src/Resources/views/catalog/products/create.blade.php
@@ -0,0 +1,137 @@
+@extends('admin::layouts.content')
+
+@section('css')
+
+@stop
+
+@section('content')
+
+@stop
+
+@section('javascript')
+
+@stop
\ No newline at end of file
diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/products/edit.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/products/edit.blade.php
new file mode 100644
index 000000000..6ab4ebd32
--- /dev/null
+++ b/packages/Webkul/Admin/src/Resources/views/catalog/products/edit.blade.php
@@ -0,0 +1,27 @@
+@extends('admin::layouts.content')
+
+@section('content')
+
+@stop
\ No newline at end of file
diff --git a/packages/Webkul/Attribute/src/Models/Attribute.php b/packages/Webkul/Attribute/src/Models/Attribute.php
index ead8d6c58..9cab5be95 100644
--- a/packages/Webkul/Attribute/src/Models/Attribute.php
+++ b/packages/Webkul/Attribute/src/Models/Attribute.php
@@ -4,6 +4,7 @@ namespace Webkul\Attribute\Models;
use Webkul\Core\Eloquent\TranslatableModel;
use Webkul\Attribute\Models\AttributeOption;
+use Webkul\Attribute\Models\AttributeGroup;
class Attribute extends TranslatableModel
{
diff --git a/packages/Webkul/Attribute/src/Models/AttributeFamily.php b/packages/Webkul/Attribute/src/Models/AttributeFamily.php
index 7fea194eb..117d9fc60 100644
--- a/packages/Webkul/Attribute/src/Models/AttributeFamily.php
+++ b/packages/Webkul/Attribute/src/Models/AttributeFamily.php
@@ -3,7 +3,6 @@
namespace Webkul\Attribute\Models;
use Illuminate\Database\Eloquent\Model;
-use Webkul\Attribute\Models\Attribute;
use Webkul\Attribute\Models\AttributeGroup;
class AttributeFamily extends Model
@@ -17,7 +16,19 @@ class AttributeFamily extends Model
*/
public function attributes()
{
- return $this->hasManyThrough(Attribute::class, AttributeGroup::class);
+ return Attribute::join('attribute_group_mappings', 'attributes.id', '=', 'attribute_group_mappings.attribute_id')
+ ->join('attribute_groups', 'attribute_group_mappings.attribute_group_id', '=', 'attribute_groups.id')
+ ->join('attribute_families', 'attribute_groups.attribute_family_id', '=', 'attribute_families.id')
+ ->where('attribute_families.id', $this->id)
+ ->select('attributes.*');
+ }
+
+ /**
+ * Get all of the attributes for the attribute groups.
+ */
+ public function getAttributesAttribute()
+ {
+ return $this->attributes()->get();
}
/**
@@ -27,4 +38,12 @@ class AttributeFamily extends Model
{
return $this->hasMany(AttributeGroup::class)->orderBy('position');
}
+
+ /**
+ * Get all of the attributes for the attribute groups.
+ */
+ public function getConfigurableAttributesAttribute()
+ {
+ return $this->attributes()->where('attributes.is_configurable', 1)->where('attributes.type', 'select')->get();
+ }
}
\ No newline at end of file
diff --git a/packages/Webkul/Attribute/src/Repositories/AttributeFamilyRepository.php b/packages/Webkul/Attribute/src/Repositories/AttributeFamilyRepository.php
index 337845ae5..63372007b 100644
--- a/packages/Webkul/Attribute/src/Repositories/AttributeFamilyRepository.php
+++ b/packages/Webkul/Attribute/src/Repositories/AttributeFamilyRepository.php
@@ -128,7 +128,7 @@ class AttributeFamilyRepository extends Repository
}
if($attributeIds->count()) {
- $attributeGroup->detach($attributeIds);
+ $attributeGroup->attributes()->detach($attributeIds);
}
}
}
diff --git a/packages/Webkul/Category/src/Http/Controllers/CategoryController.php b/packages/Webkul/Category/src/Http/Controllers/CategoryController.php
index 661c78df6..443c79e92 100644
--- a/packages/Webkul/Category/src/Http/Controllers/CategoryController.php
+++ b/packages/Webkul/Category/src/Http/Controllers/CategoryController.php
@@ -106,7 +106,7 @@ class CategoryController extends Controller
*/
public function update(Request $request, $id)
{
- $locale = request()->get('channel_locale') ?: channel()->getDefaultChannelLocaleCode();
+ $locale = request()->get('locale') ?: app()->getLocale();
$this->validate(request(), [
$locale . '.slug' => ['required', new \Webkul\Core\Contracts\Validations\Slug, function ($attribute, $value, $fail) use ($id) {
if (!$this->category->isSlugUnique($id, $value)) {
diff --git a/packages/Webkul/Category/src/Models/Category.php b/packages/Webkul/Category/src/Models/Category.php
index e9a09012e..9fbda2311 100644
--- a/packages/Webkul/Category/src/Models/Category.php
+++ b/packages/Webkul/Category/src/Models/Category.php
@@ -12,12 +12,4 @@ class Category extends TranslatableModel
public $translatedAttributes = ['name', 'description', 'slug', 'meta_title', 'meta_description', 'meta_keywords'];
protected $fillable = ['position', 'status', 'parent_id'];
-
- /**
- * @return boolean
- */
- protected function isChannelBased()
- {
- return true;
- }
}
\ No newline at end of file
diff --git a/packages/Webkul/Category/src/Repositories/CategoryRepository.php b/packages/Webkul/Category/src/Repositories/CategoryRepository.php
index 240c3e918..75733fb66 100644
--- a/packages/Webkul/Category/src/Repositories/CategoryRepository.php
+++ b/packages/Webkul/Category/src/Repositories/CategoryRepository.php
@@ -44,14 +44,10 @@ class CategoryRepository extends Repository
if(isset($data['locale']) && $data['locale'] == 'all') {
$model = app()->make($this->model());
- $channels = channel()->getChannelWithLocales();
-
- foreach($channels as $channel) {
- foreach($channel->locales as $locale) {
- foreach ($model->translatedAttributes as $attribute) {
- if(isset($data[$attribute])) {
- $data[$channel->code . '.' . $locale->code][$attribute] = $data[$attribute];
- }
+ foreach(core()->allLocales() as $locale) {
+ foreach ($model->translatedAttributes as $attribute) {
+ if(isset($data[$attribute])) {
+ $data[$locale->code][$attribute] = $data[$attribute];
}
}
}
diff --git a/packages/Webkul/Channel/src/Repositories/ChannelRepository.php b/packages/Webkul/Channel/src/Repositories/ChannelRepository.php
index 897109110..6bc856887 100644
--- a/packages/Webkul/Channel/src/Repositories/ChannelRepository.php
+++ b/packages/Webkul/Channel/src/Repositories/ChannelRepository.php
@@ -30,13 +30,9 @@ class ChannelRepository extends Repository
{
$channel = $this->model->create($data);
- foreach ($data['locales'] as $locale) {
- $channel->locales()->attach($locale);
- }
+ $channel->locales()->sync($data['locales']);
- foreach ($data['currencies'] as $currency) {
- $channel->currencies()->attach($currency);
- }
+ $channel->currencies()->sync($data['currencies']);
return $channel;
}
@@ -53,32 +49,9 @@ class ChannelRepository extends Repository
$channel->update($data);
- $previousLocaleIds = $channel->locales()->pluck('id');
+ $channel->locales()->sync($data['locales']);
- foreach ($data['locales'] as $locale) {
- if(is_numeric($index = $previousLocaleIds->search($locale))) {
- $previousLocaleIds->forget($index);
- } else {
- $channel->locales()->attach($locale);
- }
- }
-
- if($previousLocaleIds->count()) {
- $channel->locales()->detach($previousLocaleIds);
- }
-
- $previousCurrencyIds = $channel->currencies()->pluck('id');
- foreach ($data['currencies'] as $currency) {
- if(is_numeric($index = $previousCurrencyIds->search($currency))) {
- $previousCurrencyIds->forget($index);
- } else {
- $channel->currencies()->attach($currency);
- }
- }
-
- if($previousCurrencyIds->count()) {
- $channel->currencies()->detach($previousCurrencyIds);
- }
+ $channel->currencies()->sync($data['currencies']);
return $channel;
}
diff --git a/packages/Webkul/Core/src/Http/Controllers/CountryController.php b/packages/Webkul/Core/src/Http/Controllers/CountryController.php
index c3cd51ab7..a83b61783 100644
--- a/packages/Webkul/Core/src/Http/Controllers/CountryController.php
+++ b/packages/Webkul/Core/src/Http/Controllers/CountryController.php
@@ -4,7 +4,7 @@ namespace Webkul\Core\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
-use Webkul\Core\Models\Country;
+use Webkul\Core\Repositories\CountryRepository as Country;
/**
* Country controller
@@ -20,14 +20,24 @@ class CountryController extends Controller
* @var array
*/
protected $_config;
+
+ /**
+ * CountryRepository object
+ *
+ * @var array
+ */
+ protected $country;
/**
* Create a new controller instance.
*
+ * @param Webkul\Core\Repositories\CountryRepository $country
* @return void
*/
- public function __construct()
+ public function __construct(Country $country)
{
+ $this->country = $country;
+
$this->_config = request('_config');
}
@@ -64,7 +74,7 @@ class CountryController extends Controller
'name' => 'required'
]);
- Country::create(request(['code','name']));
+ $this->country->create(request()->all());
session()->flash('success', 'Country created successfully.');
diff --git a/packages/Webkul/Core/src/Http/Controllers/CurrencyController.php b/packages/Webkul/Core/src/Http/Controllers/CurrencyController.php
index 688ddcae6..f93b74b30 100644
--- a/packages/Webkul/Core/src/Http/Controllers/CurrencyController.php
+++ b/packages/Webkul/Core/src/Http/Controllers/CurrencyController.php
@@ -31,7 +31,7 @@ class CurrencyController extends Controller
/**
* Create a new controller instance.
*
- * @param Webkul\Core\Repositories\CurrencyRepository $currency
+ * @param Webkul\Core\Repositories\CurrencyRepository $currency
* @return void
*/
public function __construct(Currency $currency)
diff --git a/packages/Webkul/Core/src/Http/Controllers/LocaleController.php b/packages/Webkul/Core/src/Http/Controllers/LocaleController.php
index 6d054ad81..09578ed70 100644
--- a/packages/Webkul/Core/src/Http/Controllers/LocaleController.php
+++ b/packages/Webkul/Core/src/Http/Controllers/LocaleController.php
@@ -4,7 +4,7 @@ namespace Webkul\Core\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
-use Webkul\Core\Models\Locale;
+use Webkul\Core\Repositories\LocaleRepository as Locale;
/**
* Locale controller
@@ -20,14 +20,24 @@ class LocaleController extends Controller
* @var array
*/
protected $_config;
+
+ /**
+ * LocaleRepository object
+ *
+ * @var array
+ */
+ protected $locale;
/**
* Create a new controller instance.
*
+ * @param Webkul\Core\Repositories\LocaleRepository $locale
* @return void
*/
- public function __construct()
+ public function __construct(Locale $locale)
{
+ $this->locale = $locale;
+
$this->_config = request('_config');
}
@@ -64,7 +74,7 @@ class LocaleController extends Controller
'name' => 'required'
]);
- Locale::create(request(['code','name']));
+ $this->locale->create(request()->all());
session()->flash('success', 'Locale created successfully.');
diff --git a/packages/Webkul/Product/src/Database/Migrations/2018_07_27_065727_create_products_table.php b/packages/Webkul/Product/src/Database/Migrations/2018_07_27_065727_create_products_table.php
index d11c3312a..8c1924bd9 100644
--- a/packages/Webkul/Product/src/Database/Migrations/2018_07_27_065727_create_products_table.php
+++ b/packages/Webkul/Product/src/Database/Migrations/2018_07_27_065727_create_products_table.php
@@ -17,14 +17,23 @@ class CreateProductsTable extends Migration
$table->increments('id');
$table->string('sku')->unique();
$table->string('type');
- $table->integer('parent_id')->unsigned()->nullable();
$table->timestamps();
+ $table->integer('parent_id')->unsigned()->nullable();
+ $table->integer('attribute_family_id')->unsigned()->nullable();
+ $table->foreign('attribute_family_id')->references('id')->on('attribute_families')->onDelete('cascade');
});
Schema::table('products', function (Blueprint $table) {
$table->foreign('parent_id')->references('id')->on('products')->onDelete('cascade');
});
+ Schema::create('product_inventories', function (Blueprint $table) {
+ $table->integer('product_id')->unsigned();
+ $table->integer('inventory_source_id')->unsigned();
+ $table->foreign('product_id')->references('id')->on('products')->onDelete('cascade');
+ $table->foreign('inventory_source_id')->references('id')->on('inventory_sources')->onDelete('cascade');
+ });
+
Schema::create('product_categories', function (Blueprint $table) {
$table->integer('product_id')->unsigned();
$table->integer('category_id')->unsigned();
@@ -39,6 +48,13 @@ class CreateProductsTable extends Migration
$table->foreign('child_id')->references('id')->on('products')->onDelete('cascade');
});
+ Schema::create('product_super_attributes', function (Blueprint $table) {
+ $table->integer('product_id')->unsigned();
+ $table->integer('attribute_id')->unsigned();
+ $table->foreign('product_id')->references('id')->on('products')->onDelete('cascade');
+ $table->foreign('attribute_id')->references('id')->on('attributes')->onDelete('cascade');
+ });
+
Schema::create('product_up_sells', function (Blueprint $table) {
$table->integer('parent_id')->unsigned();
$table->integer('child_id')->unsigned();
diff --git a/packages/Webkul/Product/src/Database/Migrations/2018_07_27_070011_create_product_attribute_value_table.php b/packages/Webkul/Product/src/Database/Migrations/2018_07_27_070011_create_product_attribute_value_table.php
index 376626147..29c678286 100644
--- a/packages/Webkul/Product/src/Database/Migrations/2018_07_27_070011_create_product_attribute_value_table.php
+++ b/packages/Webkul/Product/src/Database/Migrations/2018_07_27_070011_create_product_attribute_value_table.php
@@ -15,6 +15,7 @@ class CreateProductAttributeValueTable extends Migration
{
Schema::create('product_attribute_value', function (Blueprint $table) {
$table->increments('id');
+ $table->string('locale')->nullable();
$table->text('text_value')->nullable();
$table->boolean('boolean_value')->nullable();
$table->integer('integer_value')->nullable();
@@ -26,6 +27,7 @@ class CreateProductAttributeValueTable extends Migration
$table->integer('attribute_id')->unsigned();
$table->foreign('product_id')->references('id')->on('products')->onDelete('cascade');
$table->foreign('attribute_id')->references('id')->on('attributes')->onDelete('cascade');
+ $table->unique(['locale', 'attribute_id', 'product_id']);
});
}
diff --git a/packages/Webkul/Product/src/Database/Migrations/2018_07_27_113941_create_product_images_table.php b/packages/Webkul/Product/src/Database/Migrations/2018_07_27_113941_create_product_images_table.php
new file mode 100644
index 000000000..7d5468d5c
--- /dev/null
+++ b/packages/Webkul/Product/src/Database/Migrations/2018_07_27_113941_create_product_images_table.php
@@ -0,0 +1,34 @@
+increments('id');
+ $table->string('type');
+ $table->string('path');
+ $table->integer('product_id')->unsigned()->nullable();
+ $table->foreign('product_id')->references('id')->on('products')->onDelete('cascade');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::dropIfExists('product_images');
+ }
+}
diff --git a/packages/Webkul/Product/src/Http/Controllers/ProductController.php b/packages/Webkul/Product/src/Http/Controllers/ProductController.php
index 775f9354e..46b5d8b25 100644
--- a/packages/Webkul/Product/src/Http/Controllers/ProductController.php
+++ b/packages/Webkul/Product/src/Http/Controllers/ProductController.php
@@ -5,6 +5,7 @@ namespace Webkul\Product\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Webkul\Product\Repositories\ProductRepository as Product;
+use Webkul\Attribute\Repositories\AttributeFamilyRepository as AttributeFamily;
/**
* Product controller
@@ -21,6 +22,13 @@ class ProductController extends Controller
*/
protected $_config;
+ /**
+ * AttributeFamilyRepository object
+ *
+ * @var array
+ */
+ protected $attributeFamily;
+
/**
* ProductRepository object
*
@@ -31,11 +39,14 @@ class ProductController extends Controller
/**
* Create a new controller instance.
*
- * @param Webkul\Product\Repositories\ProductRepository $product
+ * @param Webkul\Attribute\Repositories\AttributeFamilyRepository $attributeFamily
+ * @param Webkul\Product\Repositories\ProductRepository $product
* @return void
*/
- public function __construct(Product $product)
+ public function __construct(AttributeFamily $attributeFamily, Product $product)
{
+ $this->attributeFamily = $attributeFamily;
+
$this->product = $product;
$this->_config = request('_config');
@@ -58,7 +69,13 @@ class ProductController extends Controller
*/
public function create()
{
- return view($this->_config['view']);
+ $families = $this->attributeFamily->all();
+
+ if($familyId = request()->get('family')) {
+ $configurableFamily = $this->attributeFamily->findOrFail($familyId);
+ }
+
+ return view($this->_config['view'], compact('families', 'configurableFamily'));
}
/**
@@ -68,15 +85,22 @@ class ProductController extends Controller
*/
public function store()
{
+ if(!request()->get('family') && request()->input('type') == 'configurable') {
+ return redirect(url()->current() . '?family=' . request()->input('attribute_family_id'));
+ }
+
$this->validate(request(), [
- 'name' => 'required'
+ 'type' => 'required',
+ 'attribute_family_id' => 'required',
+ 'sku' => ['required', 'unique:products,sku', new \Webkul\Core\Contracts\Validations\Slug],
+ 'super_attributes' => 'required|array|min:1'
]);
- $this->product->create(request()->all());
+ $product = $this->product->create(request()->all());
session()->flash('success', 'Product created successfully.');
- return redirect()->route($this->_config['redirect']);
+ return redirect()->route($this->_config['redirect'], ['id' => $product->id]);
}
/**
diff --git a/packages/Webkul/Product/src/Models/Product.php b/packages/Webkul/Product/src/Models/Product.php
index 7984de298..fba24defa 100644
--- a/packages/Webkul/Product/src/Models/Product.php
+++ b/packages/Webkul/Product/src/Models/Product.php
@@ -3,11 +3,13 @@
namespace Webkul\Product\Models;
use Illuminate\Database\Eloquent\Model;
+use Webkul\Attribute\Models\Attribute;
use Webkul\Category\Models\Category;
+use Webkul\Inventory\Models\InventorySource;
class Product extends Model
{
- protected $guarded = ['_token'];
+ protected $fillable = ['type', 'attribute_family_id', 'sku'];
/**
* The categories that belong to the product.
@@ -16,4 +18,44 @@ class Product extends Model
{
return $this->belongsToMany(Category::class, 'product_categories');
}
+
+ /**
+ * The inventories that belong to the product.
+ */
+ public function inventories()
+ {
+ return $this->belongsToMany(InventorySource::class, 'product_inventories');
+ }
+
+ /**
+ * The super attributes that belong to the product.
+ */
+ public function super_attributes()
+ {
+ return $this->belongsToMany(Attribute::class, 'product_super_attributes');
+ }
+
+ /**
+ * The related products that belong to the product.
+ */
+ public function related_products()
+ {
+ return $this->belongsToMany(self::class, 'product_relations');
+ }
+
+ /**
+ * The up sells that belong to the product.
+ */
+ public function up_sells()
+ {
+ return $this->belongsToMany(self::class, 'product_up_sells');
+ }
+
+ /**
+ * The cross sells that belong to the product.
+ */
+ public function cross_sells()
+ {
+ return $this->belongsToMany(self::class, 'product_cross_sells');
+ }
}
\ No newline at end of file
diff --git a/packages/Webkul/Product/src/Models/ProductAttributeValue.php b/packages/Webkul/Product/src/Models/ProductAttributeValue.php
new file mode 100644
index 000000000..2e045652f
--- /dev/null
+++ b/packages/Webkul/Product/src/Models/ProductAttributeValue.php
@@ -0,0 +1,26 @@
+belongsTo(Attribue::class);
+ }
+
+ /**
+ * Get the product that owns the attribute value.
+ */
+ public function product()
+ {
+ return $this->belongsTo(Product::class);
+ }
+}
\ No newline at end of file
diff --git a/packages/Webkul/Product/src/Repositories/ProductAttributeValueRepository.php b/packages/Webkul/Product/src/Repositories/ProductAttributeValueRepository.php
new file mode 100644
index 000000000..751fcbbbc
--- /dev/null
+++ b/packages/Webkul/Product/src/Repositories/ProductAttributeValueRepository.php
@@ -0,0 +1,39 @@
+
+ * @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
+ */
+class ProductAttributeValueRepository extends Repository
+{
+ /**
+ * Specify Model class name
+ *
+ * @return mixed
+ */
+ function model()
+ {
+ return 'Webkul\Product\Models\ProductAttributeValue';
+ }
+
+ /**
+ * @param array $data
+ * @return mixed
+ */
+ public function create(array $data)
+ {
+ $product = $this->model->create($data);
+
+ foreach ($data['super_attributes'] as $attributeId => $attribute) {
+ $product->super_attributes()->attach($attributeId);
+ }
+
+ return $product;
+ }
+}
\ No newline at end of file
diff --git a/packages/Webkul/Product/src/Repositories/ProductRepository.php b/packages/Webkul/Product/src/Repositories/ProductRepository.php
index 2da8dd92f..8d6996574 100644
--- a/packages/Webkul/Product/src/Repositories/ProductRepository.php
+++ b/packages/Webkul/Product/src/Repositories/ProductRepository.php
@@ -21,4 +21,19 @@ class ProductRepository extends Repository
{
return 'Webkul\Product\Models\Product';
}
+
+ /**
+ * @param array $data
+ * @return mixed
+ */
+ public function create(array $data)
+ {
+ $product = $this->model->create($data);
+
+ foreach ($data['super_attributes'] as $attributeId => $attribute) {
+ $product->super_attributes()->attach($attributeId);
+ }
+
+ return $product;
+ }
}
\ No newline at end of file
diff --git a/packages/Webkul/Ui/src/Resources/assets/sass/app.scss b/packages/Webkul/Ui/src/Resources/assets/sass/app.scss
index a88439f6a..be2edef68 100644
--- a/packages/Webkul/Ui/src/Resources/assets/sass/app.scss
+++ b/packages/Webkul/Ui/src/Resources/assets/sass/app.scss
@@ -225,6 +225,7 @@ h2 {
.icon {
cursor: pointer;
+ vertical-align: middle;
}
}
}
@@ -918,3 +919,28 @@ h2 {
}
}
}
+
+
+.label {
+ background: #E7E7E7;
+ border-radius: 2px;
+ padding: 8px;
+ color: #000311;
+ display: inline-block;
+
+ &.label-sm {
+ padding: 5px;
+ }
+
+ &.label-md {
+ padding: 8px;
+ }
+
+ &.label-lg {
+ padding: 11px;
+ }
+
+ &.label-xl {
+ padding: 14px;
+ }
+}
\ No newline at end of file
diff --git a/packages/Webkul/Ui/src/Resources/assets/sass/icons.scss b/packages/Webkul/Ui/src/Resources/assets/sass/icons.scss
index f742a10be..c17850c40 100644
--- a/packages/Webkul/Ui/src/Resources/assets/sass/icons.scss
+++ b/packages/Webkul/Ui/src/Resources/assets/sass/icons.scss
@@ -70,8 +70,8 @@
.cross-icon {
background-image: url("../images/Icon-Crossed.svg");
- width: 24px;
- height: 24px;
+ width: 18px;
+ height: 18px;
}
.trash-icon {
diff --git a/packages/Webkul/Ui/src/Resources/views/partials/ui-kit.blade.php b/packages/Webkul/Ui/src/Resources/views/partials/ui-kit.blade.php
index 689def08e..3422373bb 100644
--- a/packages/Webkul/Ui/src/Resources/views/partials/ui-kit.blade.php
+++ b/packages/Webkul/Ui/src/Resources/views/partials/ui-kit.blade.php
@@ -269,6 +269,14 @@