marshmallow / products
Package that will contain basic methods for handeling products and preparing them toe be used in ecommerce.
Installs: 6 619
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 3
Requires
- php: ^8.1
- laravel/nova: ^5.0
- marshmallow/commands: ^v1.2.1
- marshmallow/helpers: ^v2.19.0
- marshmallow/nova-flexible: ^v5.1.0
- marshmallow/priceable: ^v3.2.0
- marshmallow/seoable: ^v5.0.1
- marshmallow/sluggable: ^v1.9.0
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
.
...