承接 webburza/sylius-customers-also-bought-bundle 相关项目开发

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

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

webburza/sylius-customers-also-bought-bundle

Composer 安装命令:

composer require webburza/sylius-customers-also-bought-bundle

包简介

Customers also bought bundle for the Sylius e-commerce platform.

README 文档

README

Version Build Status

This bundle adds a command to generate product associations from existing orders to Sylius e-commerce platform. Those associations can be used to show a "Customers Who Bought This Item Also Bought" section.

Installation

  1. require the bundle with Composer:
$ composer require webburza/sylius-customers-also-bought-bundle
  1. enable the bundle in app/AppKernel.php:
public function registerBundles()
{
  $bundles = array(
    // ...
    new \Webburza\Sylius\CustomersAlsoBoughtBundle\WebburzaSyliusCustomersAlsoBoughtBundle(),
    // ...
  );
}
  1. Configure a limit for associations per product. This way you can associate only the most often bought together products to each product. To configure the limit add this to your app/config/config.yml:
webburza_sylius_customers_also_bought:
    association_limit: 5
  1. This bundle adds a console command that either generates or updates associations for all products. You should run it initially to generate associations and after that periodically to update them. It will create a new association type and use it for all generated associations.
$ app/console webburza:sylius-customers-also-bought:generate

If the command is behaving unusually or if you want more information on what it's doing, add a verbosity flag (-v)

You can also specify the association limit via an option when you run the command.

```bash
$ app/console webburza:sylius-customers-also-bought:generate --limit=5
```

Tests

For tests we use Behat scenarios. After you run composer install (on the bundle itself, not your application), run the tests via:

$ vendor/bin/behat

The tests will run on a cleanly installed application, using in-memory SQLite database, to minimize configuration required on the system. This does however mean that you need to install/enable SQLite if you don't already use it.

License

This bundle is available under the MIT license.

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固