landofcoder/module-layered-navigation

Magento 2 层级导航扩展

1.0.1 2022-10-31 10:57 UTC

This package is auto-updated.

Last update: 2024-08-29 05:50:52 UTC


README

``landofcoder/module-layered-navigation``

主要功能

安装

* = 在生产环境中请使用 --keep-generated 选项

类型 1: 压缩文件

  • 将压缩文件解压到 app/code/Lof
  • 通过运行 php bin/magento module:enable Lof_LayeredNavigation 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2: Composer

  • 将模块在 composer 仓库中可用,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 公共 GitHub 仓库作为 vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将 composer 仓库添加到配置中
  • 通过运行 composer require lof/module-layered-navigation 安装模块 composer
  • 通过运行 php bin/magento module:enable Lof_LayeredNavigation 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

  1. 创建 layered-navigation 账户

  2. 获取 layered-navigation API

  3. 在 layered-navigation 上创建订阅联系人列表

  4. 在 layered-navigation 上创建取消订阅联系人列表

  5. 模块配置

  • 启用 (layered-navigation/general/enabled)

  • API 密钥 (layered-navigation/general/api_key)

  • 订阅列表 (layered-navigation/general/subscribe_list)

  • 取消订阅列表 (layered-navigation/general/unsubscribe_list)

  • 其他列表 (layered-navigation/general/other_list)

  • 在 layered-navigation 中添加未订阅状态的客户 (layered-navigation/general/add_customer)

  • webhook_url (layered-navigation/general/webhook_url)

  • Webhook Url (layered-navigation/general/list_for_new_customer)

  • 定时任务启用 (layered-navigation/sync/cron_enable)

规格

属性