Skip to content

Commit

Permalink
Update attributes (#247)
Browse files Browse the repository at this point in the history
* Attributes - Add products attributes features

* fix code formatting

---------

Co-authored-by: mckenziearts <[email protected]>
  • Loading branch information
mckenziearts and mckenziearts authored Apr 12, 2024
1 parent 159b9f0 commit b4190e1
Show file tree
Hide file tree
Showing 49 changed files with 960 additions and 1,534 deletions.
10 changes: 3 additions & 7 deletions packages/admin/config/components/product.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
'product-create' => Livewire\Pages\Product\Create::class,
'product-edit' => Livewire\Pages\Product\Edit::class,
'variant-edit' => Livewire\Pages\Product\Variant::class,
'attribute-index' => Livewire\Pages\Attribute\Browse::class,
],

/*
Expand All @@ -27,11 +28,6 @@
*/

'components' => [
'attributes.browse' => Components\Attributes\Browse::class,
'attributes.create' => Components\Attributes\Create::class,
'attributes.edit' => Components\Attributes\Edit::class,
'attributes.values' => Components\Attributes\Values::class,

'products.form.attributes' => Components\Products\Form\Attributes::class,
'products.form.edit' => Components\Products\Form\Edit::class,
'products.form.media' => Components\Products\Form\Media::class,
Expand All @@ -42,12 +38,12 @@
'products.form.variants' => Components\Products\Form\Variants::class,
'products.variant-stock' => Components\Products\VariantStock::class,

'modals.create-value' => Livewire\Modals\CreateValue::class,
'modals.products-lists' => Livewire\Modals\ProductsLists::class,
'modals.related-products-list' => Livewire\Modals\RelatedProductsList::class,
'modals.update-value' => Livewire\Modals\UpdateValue::class,

'slide-overs.add-variant' => Livewire\SlideOvers\AddVariantForm::class,
'slide-overs.attribute-form' => Livewire\SlideOvers\AttributeForm::class,
'slide-overs.attribute-values' => Livewire\SlideOvers\AttributeValues::class,
],

];
Loading

0 comments on commit b4190e1

Please sign in to comment.