Skip to content

Commit 65fa3a5

Browse files
Merge pull request #2073 from shivendra-webkul/product-attributes
Fixed attributes listing in the product
2 parents 8845bae + 4a04f8e commit 65fa3a5

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

packages/Webkul/Admin/src/Resources/views/products/create.blade.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ class="primary-button"
6060
<x-admin::attributes
6161
:custom-attributes="app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
6262
'entity_type' => 'products',
63-
['code', 'NOTIN', ['price']],
64-
['code' , '!=', 'quantity']
63+
['code', 'NOTIN', ['price', 'quantity']],
6564
])"
6665
/>
6766

@@ -92,8 +91,7 @@ class="primary-button"
9291
<x-admin::attributes
9392
:custom-attributes="app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
9493
'entity_type' => 'products',
95-
['code', 'IN', ['price']],
96-
['code' , '!=', 'quantity']
94+
['code', 'IN', ['price', 'quantity']],
9795
])"
9896
/>
9997

packages/Webkul/Admin/src/Resources/views/products/edit.blade.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ class="primary-button"
5858
<x-admin::attributes
5959
:custom-attributes="app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
6060
'entity_type' => 'products',
61-
['code', 'NOTIN', ['price']],
62-
['code' , '!=', 'quantity']
61+
['code', 'NOTIN', ['price', 'quantity']],
6362
])"
6463
:entity="$product"
6564
/>
@@ -91,8 +90,7 @@ class="primary-button"
9190
<x-admin::attributes
9291
:custom-attributes="app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
9392
'entity_type' => 'products',
94-
['code', 'IN', ['price']],
95-
['code' , '!=', 'quantity']
93+
['code', 'IN', ['price', 'quantity']],
9694
])"
9795
:entity="$product"
9896
/>

0 commit comments

Comments
 (0)