swissup/module-featured-attributes
最新稳定版本:1.1.9
Composer 安装命令:
composer require swissup/module-featured-attributes
包简介
Featured attributes extension from Swissup
README 文档
README
Extension Manual
http://docs.swissuplabs.com/m2/extensions/featured-attributes/
Installation
For clients
There are several ways to install extension for clients:
- If you've bought the product at Magento's Marketplace - use Marketplace installation instructions
- Otherwise, you have two options:
- Install the sources directly from our repository - recommended
- Download archive and use manual installation
For developers
Use this approach if you have access to our private repositories!
cd <magento_root> composer config repositories.swissup composer https://docs.swissuplabs.com/packages/ composer require swissup/module-featured-attributes --prefer-source bin/magento module:enable Swissup_Core Swissup_FeaturedAttributes bin/magento setup:upgrade
Usage
Insert code in template /Magento_Catalog/templates/product/list.phtml
<?php if ($this->helper('Magento\Catalog\Helper\Data')->isModuleOutputEnabled('Swissup_FeaturedAttributes')) { echo $block->getLayout() ->createBlock('Swissup\FeaturedAttributes\Block\Attributes') ->setProduct($_product) ->toHtml(); } ?>
Enable extension and select attributes to display in
Stores > Configuration > Swissup > Featured Attributes.
统计信息
- 总下载量: 1.82k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2020-08-27