marshmallow / products
Package that will contain basic methods for handeling products and preparing them toe be used in ecommerce.
Installs: 5 921
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 3
Requires
- php: ^8.0|^8.1
- laravel/nova: ^4.0
- marshmallow/channels-channable: ^1.0
- marshmallow/commands: ^v1.2.1
- marshmallow/feeds-google-shopping: ^1.0
- marshmallow/helpers: ^v2.12.1
- marshmallow/nova-flexible: ^v2.0.0
- marshmallow/nova-tabs: ^2.0
- marshmallow/priceable: ^v3.0.0
- marshmallow/seoable: ^v3.0.0
- marshmallow/sluggable: ^v1.4.0
- dev-master
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.1.0
- v2.0.0
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/github_actions/actions/checkout-3.3.0
- dev-dependabot/github_actions/overtrue/phplint-8.2
- dev-dependabot/composer/marshmallow/nova-tabs-tw-2.0or-tw-9999999.0
- dev-nova4
- dev-development
This package is auto-updated.
Last update: 2024-12-01 00:21:09 UTC
README
Marshmallow Products
Deze package gaat alle logica houden voor producten. Producten zullen in het algemeen gebruikt worden in combinatie met de Cart of Ecommerce package.
Installatie
composer require marshmallow/products
Voeg de observer toe aan AppServiceProvider.php
.
public function boot() { ModelObserver::observe(); }
php artisan db:seed --class=Marshmallow\\Priceable\\Database\\Seeds\\VatRatesSeeder
After installation
php artisan marshmallow:resource Product Product php artisan marshmallow:resource Supplier Product php artisan marshmallow:resource ProductCategory Product php artisan marshmallow:resource Price Priceable php artisan marshmallow:resource VatRate Priceable php artisan marshmallow:resource Currency Priceable
CURRENCY=eur
Extra
factory(Marshmallow\Product\Models\Product::class, 10)->create();
Hulp
Als de factory niet werkt, zet dan 'strict' => false,
in config/database.php
.
...