承接 marshmallow/products 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marshmallow/products

最新稳定版本:5.1.0

Composer 安装命令:

composer require marshmallow/products

包简介

Package that will contain basic methods for handeling products and preparing them toe be used in ecommerce.

关键字:

README 文档

README

alt text

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.

...

统计信息

  • 总下载量: 7.03k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-03