定制 shopsys/luigis-box 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

shopsys/luigis-box

最新稳定版本:v18.0.0

Composer 安装命令:

composer require shopsys/luigis-box

包简介

Shopsys Platform connector to Luigi's Box

README 文档

README

Downloads

This bundle for Shopsys Platform adds advanced search using Luigi's Box. The bundle is dedicated for projects based on Shopsys Platform (i.e. created from shopsys/project-base) exclusively. This repository is maintained by shopsys/shopsys monorepo, information about changes is in its CHANGELOG file.

Documentation

Documentation can be found in Shopsys Platform Knowledge Base.

Installation

The plugin is a Symfony bundle and is installed in the same way:

Download

First, you download the package using Composer:

composer require shopsys/luigis-box

Configuration

Set these environment variables in your project:

LUIGIS_BOX_ENABLED_DOMAIN_IDS // comma separated list of domain ids e.g. '1,2'
LUIGIS_BOX_TRACKER_IDS_BY_DOMAIN_IDS='{"1": "<TRACKER_ID_FOR_DOMAIN_1>", "2": "<TRACKER_ID_FOR_DOMAIN_2>", ...}' // JSON object with domain id as key and tracker id as value

Add this data loader to your config/packages/overblog_dataloader.yaml:

luigisBoxBatchLoader:
    alias: 'luigis_box_batch_loader'
    batch_load_fn: "@Shopsys\\LuigisBoxBundle\\Model\\Batch\\LuigisBoxBatchLoader:loadByBatchData"

Add a recommendation query to your frontend API (Query.types.yaml):

- 'RecommendationQueryDecorator'

Add a recommendation type to your frontend API types folder (config/graphql/types/Recommendation):

RecommendationType:
    type: object
    inherits:
        - 'RecommendationTypeDecorator'

Contributing

Thank you for your contributions to Shopsys LuigisBox package. Together, we are making Shopsys Platform better.

This repository is READ-ONLY. If you want to report issues and/or send pull requests, please use the main Shopsys repository.

Please check our Contribution Guide before contributing.

Support

What to do when you are in trouble or need some help? The best way is to join our Slack.

If you want to report issues, please use the main Shopsys repository.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2024-02-22