diff --git a/packages/Webkul/Admin/src/Resources/lang/ar/app.php b/packages/Webkul/Admin/src/Resources/lang/ar/app.php
index 60ead8801..4830796d4 100644
--- a/packages/Webkul/Admin/src/Resources/lang/ar/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/ar/app.php
@@ -580,6 +580,9 @@ return [
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/de/app.php b/packages/Webkul/Admin/src/Resources/lang/de/app.php
index a0abd263e..ed5ca3976 100755
--- a/packages/Webkul/Admin/src/Resources/lang/de/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/de/app.php
@@ -571,6 +571,9 @@ return [
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' =>
[
diff --git a/packages/Webkul/Admin/src/Resources/lang/en/app.php b/packages/Webkul/Admin/src/Resources/lang/en/app.php
index da68ac287..a09914d3e 100755
--- a/packages/Webkul/Admin/src/Resources/lang/en/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/en/app.php
@@ -514,84 +514,87 @@ return [
'catalog' => [
'products' => [
- 'title' => 'Products',
- 'add-product-btn-title' => 'Add Product',
- 'add-title' => 'Add Product',
- 'edit-title' => 'Edit Product',
- 'save-btn-title' => 'Save Product',
- 'general' => 'General',
- 'product-type' => 'Product Type',
- 'simple' => 'Simple',
- 'configurable' => 'Configurable',
- 'familiy' => 'Attribute Family',
- 'sku' => 'SKU',
- 'configurable-attributes' => 'Configurable Attributes',
- 'attribute-header' => 'Attribute(s)',
- 'attribute-option-header' => 'Attribute Option(s)',
- 'no' => 'No',
- 'yes' => 'Yes',
- 'disabled' => 'Disabled',
- 'enabled' => 'Enabled',
- 'add-variant-btn-title' => 'Add Variant',
- 'name' => 'Name',
- 'qty' => 'Qty',
- 'price' => 'Price',
- 'weight' => 'Weight',
- 'status' => 'Status',
- 'add-variant-title' => 'Add Variant',
- 'add-image-btn-title' => 'Add Image',
- 'mass-delete-success' => 'All the selected products have been deleted successfully',
- 'mass-update-success' => 'All the selected products have been updated successfully',
- 'configurable-error' => 'Please select atleast one configurable attribute.',
- 'categories' => 'Categories',
- 'images' => 'Images',
- 'inventories' => 'Inventories',
- 'variations' => 'Variations',
- 'downloadable' => 'Downloadable Information',
- 'links' => 'Links',
- 'add-link-btn-title' => 'Add Link',
- 'samples' => 'Samples',
- 'add-sample-btn-title' => 'Add Sample',
- 'downloads' => 'Download Allowed',
- 'file' => 'File',
- 'sample' => 'Sample',
- 'upload-file' => 'Upload File',
- 'url' => 'Url',
- 'sort-order' => 'Sort Order',
- 'browse-file' => 'Browse File',
- 'product-link' => 'Linked Products',
- 'cross-selling' => 'Cross Selling',
- 'up-selling' => 'Up Selling',
- 'related-products' => 'Related Products',
- 'product-search-hint' => 'Start typing product name',
- 'no-result-found' => 'Products not found with same name.',
- 'searching' => 'Searching ...',
- 'grouped-products' => 'Grouped Products',
- 'search-products' => 'Search Products',
- 'channel' => 'Channels',
- 'bundle-items' => 'Bundle Items',
- 'add-option-btn-title' => 'Add Option',
- 'option-title' => 'Option Title',
- 'input-type' => 'Input Type',
- 'is-required' => 'Is Required',
- 'select' => 'Select',
- 'radio' => 'Radio',
- 'checkbox' => 'Checkbox',
- 'multiselect' => 'Multiselect',
- 'new-option' => 'New Option',
- 'is-default' => 'Is Default',
- 'customer-group' => 'Customer Group',
- 'add-group-price' => 'Add Customer Group Price',
- 'all-group' => 'All Groups',
- 'fixed' => 'Fixed',
- 'discount' => 'Discount',
- 'remove-image-btn-title' => 'Remove Image',
- 'videos' => 'Videos',
- 'video' => 'Video',
- 'add-video-btn-title' => 'Add Video',
- 'remove-video-btn-title' => 'Remove Video',
- 'not-support-video' => 'Your browser does not support the video tag.',
+ 'title' => 'Products',
+ 'add-product-btn-title' => 'Add Product',
+ 'add-title' => 'Add Product',
+ 'edit-title' => 'Edit Product',
+ 'save-btn-title' => 'Save Product',
+ 'general' => 'General',
+ 'product-type' => 'Product Type',
+ 'simple' => 'Simple',
+ 'configurable' => 'Configurable',
+ 'familiy' => 'Attribute Family',
+ 'sku' => 'SKU',
+ 'configurable-attributes' => 'Configurable Attributes',
+ 'attribute-header' => 'Attribute(s)',
+ 'attribute-option-header' => 'Attribute Option(s)',
+ 'no' => 'No',
+ 'yes' => 'Yes',
+ 'disabled' => 'Disabled',
+ 'enabled' => 'Enabled',
+ 'add-variant-btn-title' => 'Add Variant',
+ 'name' => 'Name',
+ 'qty' => 'Qty',
+ 'price' => 'Price',
+ 'weight' => 'Weight',
+ 'status' => 'Status',
+ 'add-variant-title' => 'Add Variant',
+ 'add-image-btn-title' => 'Add Image',
+ 'mass-delete-success' => 'All the selected products have been deleted successfully',
+ 'mass-update-success' => 'All the selected products have been updated successfully',
+ 'configurable-error' => 'Please select atleast one configurable attribute.',
+ 'categories' => 'Categories',
+ 'images' => 'Images',
+ 'inventories' => 'Inventories',
+ 'variations' => 'Variations',
+ 'downloadable' => 'Downloadable Information',
+ 'links' => 'Links',
+ 'add-link-btn-title' => 'Add Link',
+ 'samples' => 'Samples',
+ 'add-sample-btn-title' => 'Add Sample',
+ 'downloads' => 'Download Allowed',
+ 'file' => 'File',
+ 'sample' => 'Sample',
+ 'upload-file' => 'Upload File',
+ 'url' => 'Url',
+ 'sort-order' => 'Sort Order',
+ 'browse-file' => 'Browse File',
+ 'product-link' => 'Linked Products',
+ 'cross-selling' => 'Cross Selling',
+ 'up-selling' => 'Up Selling',
+ 'related-products' => 'Related Products',
+ 'product-search-hint' => 'Start typing product name',
+ 'no-result-found' => 'Products not found with same name.',
+ 'searching' => 'Searching ...',
+ 'grouped-products' => 'Grouped Products',
+ 'search-products' => 'Search Products',
+ 'channel' => 'Channels',
+ 'bundle-items' => 'Bundle Items',
+ 'add-option-btn-title' => 'Add Option',
+ 'option-title' => 'Option Title',
+ 'input-type' => 'Input Type',
+ 'is-required' => 'Is Required',
+ 'select' => 'Select',
+ 'radio' => 'Radio',
+ 'checkbox' => 'Checkbox',
+ 'multiselect' => 'Multiselect',
+ 'new-option' => 'New Option',
+ 'is-default' => 'Is Default',
+ 'customer-group' => 'Customer Group',
+ 'add-group-price' => 'Add Customer Group Price',
+ 'all-group' => 'All Groups',
+ 'fixed' => 'Fixed',
+ 'discount' => 'Discount',
+ 'remove-image-btn-title' => 'Remove Image',
+ 'videos' => 'Videos',
+ 'video' => 'Video',
+ 'add-video-btn-title' => 'Add Video',
+ 'remove-video-btn-title' => 'Remove Video',
+ 'not-support-video' => 'Your browser does not support the video tag.',
'variant-already-exist-message' => 'Variant with same attribute options already exists.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/es/app.php b/packages/Webkul/Admin/src/Resources/lang/es/app.php
index 3023f1154..3c3f8b72e 100644
--- a/packages/Webkul/Admin/src/Resources/lang/es/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/es/app.php
@@ -592,6 +592,9 @@ return [
'add-video-btn-title' => 'Agregar Video',
'remove-video-btn-title' => 'Remover Video',
'not-support-video' => 'Su navegador no soporta la etiqueta video.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/fa/app.php b/packages/Webkul/Admin/src/Resources/lang/fa/app.php
index 5fd9d0801..c5f6d96cb 100644
--- a/packages/Webkul/Admin/src/Resources/lang/fa/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/fa/app.php
@@ -581,6 +581,9 @@ return [
'add-video-btn-title' => 'اضافه کردن فیلم',
'remove-video-btn-title' => 'حذف فیلم',
'not-support-video' => 'مرورگر شما تگ ویدیو را پشتیبانی نمی کند',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/fr/app.php b/packages/Webkul/Admin/src/Resources/lang/fr/app.php
index 6f7f4b8ff..398b181e4 100644
--- a/packages/Webkul/Admin/src/Resources/lang/fr/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/fr/app.php
@@ -591,6 +591,9 @@ return [
'remove-video-btn-title' => 'Supprimer la vidéo',
'not-support-video' => 'Votre navigateur ne prend pas en charge la balise vidéo.',
'variant-already-exist-message' => 'Une variante avec les mêmes options d\'attribut existe déjà.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/it/app.php b/packages/Webkul/Admin/src/Resources/lang/it/app.php
index c7b102e77..6c2afab72 100644
--- a/packages/Webkul/Admin/src/Resources/lang/it/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/it/app.php
@@ -581,6 +581,9 @@ return [
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/nl/app.php b/packages/Webkul/Admin/src/Resources/lang/nl/app.php
index d098ad8ca..73e10a9f9 100644
--- a/packages/Webkul/Admin/src/Resources/lang/nl/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/nl/app.php
@@ -577,6 +577,9 @@ return [
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/pl/app.php b/packages/Webkul/Admin/src/Resources/lang/pl/app.php
index 648b020a7..216997f9e 100644
--- a/packages/Webkul/Admin/src/Resources/lang/pl/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/pl/app.php
@@ -579,6 +579,9 @@ return [
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php
index d3013ccd3..ba9d42c58 100755
--- a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php
@@ -578,6 +578,9 @@ return [
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/lang/tr/app.php b/packages/Webkul/Admin/src/Resources/lang/tr/app.php
index 94d5d14c6..37f3e722d 100644
--- a/packages/Webkul/Admin/src/Resources/lang/tr/app.php
+++ b/packages/Webkul/Admin/src/Resources/lang/tr/app.php
@@ -574,6 +574,9 @@ return [
'add-video-btn-title' => 'Add Video',
'remove-video-btn-title' => 'Remove Video',
'not-support-video' => 'Your browser does not support the video tag.',
+ 'save' => 'Save',
+ 'cancel' => 'Cancel',
+ 'saved-inventory-message' => 'Product inventory saved successfully.',
],
'attributes' => [
diff --git a/packages/Webkul/Admin/src/Resources/views/catalog/products/datagrid/quantity.blade.php b/packages/Webkul/Admin/src/Resources/views/catalog/products/datagrid/quantity.blade.php
index 3d93c1711..379bd010b 100644
--- a/packages/Webkul/Admin/src/Resources/views/catalog/products/datagrid/quantity.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/catalog/products/datagrid/quantity.blade.php
@@ -31,7 +31,7 @@
@endforeach
-
-
+
+
\ No newline at end of file
diff --git a/packages/Webkul/Product/src/Http/Controllers/ProductController.php b/packages/Webkul/Product/src/Http/Controllers/ProductController.php
index 8632b96f2..51513bd38 100755
--- a/packages/Webkul/Product/src/Http/Controllers/ProductController.php
+++ b/packages/Webkul/Product/src/Http/Controllers/ProductController.php
@@ -262,7 +262,7 @@ class ProductController extends Controller
$this->productInventoryRepository->saveInventories(request()->all(), $product);
return response()->json([
- 'message' => 'Product inventory saved successfully.',
+ 'message' => __('admin::app.catalog.products.saved-inventory-message'),
'updatedTotal' => $this->productInventoryRepository->where('product_id', $product->id)->sum('qty')
]);
}