定制 rapidez/amasty-label 二次开发

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

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

rapidez/amasty-label

最新稳定版本:4.1.0

Composer 安装命令:

composer require rapidez/amasty-label

包简介

Rapidez Amasty Label

关键字:

README 文档

README

Requirements

You need to have the Amasty Product Labels module installed and configured within your Magento 2 installation.

Installation

composer require rapidez/amasty-label

If you haven't published the Rapidez views yet, publish them with:

php artisan vendor:publish --provider="Rapidez\Core\RapidezServiceProvider" --tag=views

Product page

Add @include('amastylabel::product') where you'd like to display the labels, most likely somewhere around the images: resources/views/vendor/rapidez/product/overview.blade.php.

Category page

Add @include('amastylabel::category') in: resources/views/vendor/rapidez/category/partials/listing/item.blade.php.

Add amasty_label to the result_attributes in your config/rapidez/searchkit.php

Views

If you need to change the views you can publish them with:

php artisan vendor:publish --provider="Rapidez\AmastyLabel\AmastyLabelServiceProvider" --tag=views

Note

Not all features are implemented yet! For example not all variables are supported, supported variables:

  • SPECIAL_PRICE
  • PRICE
  • SAVE_AMOUNT
  • SAVE_PERCENT

License

GNU General Public License v3. Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-06-30