定制 thelia/bo-search-module 二次开发

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

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

thelia/bo-search-module

最新稳定版本:2.0.1

Composer 安装命令:

composer require thelia/bo-search-module

包简介

README 文档

README

Add search forms to filter customers, orders and products

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is BoSearch.
  • Activate it in your Thelia administration panel

Composer

Add it in your main Thelia composer.json file

composer require thelia/bo-search-module:~1.0

Usage

Once activated, inputs will appear on the top of the customer and the order list pages. Use them to filter displayed results. You will find the product search page in the back-office menu "Search products".

Hook

Two hooks are added by this module, allowing you to extend forms.

  • bosearch.customer-search.form: between the last customer's form input and the submit button.
  • bosearch.order-search.form: between the last order's form input and the submit button.

Then extend the forms in your extension module's EventListener class:

TheliaEvents::FORM_AFTER_BUILD . '.' . \BoSearch\Form\OrderSearchForm::ORDER_FORM_NAME => ['yourFunction', 128],
TheliaEvents::FORM_AFTER_BUILD . '.' . \BoSearch\Form\CustomerSearchForm::CUSTOMER_FORM_NAME => ['yourFunction', 128]

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2016-02-04