Manual Installation
Note: module is included in Argento since 1.3.0
Prepare to install
Installation requires Marketplace module. It’s our module that automates a bunch of complex commands required to run prior and after module installation, and provides easy to use module installer.
composer require swissup/module-marketplace &&\
bin/magento setup:upgrade --safe-mode=1
Prepare directory for downloaded archives and register it in composer.json
:
mkdir -p vendor/swissup/artifacts &&\
composer config repositories.swissupartifacts artifact $(pwd)/vendor/swissup/artifacts
Download and unpack archive
- Open your account page at the site where you purchased the module and download it:
-
Upload this archive to the
<magento_root>
directory, and then unpack it to the<magento_root>/vendor/swissup/artifacts
folder:unzip swissup.<module-version>.zip -d vendor/swissup/artifacts
- Now, proceed to install section.
Install
When Marketplace module is installed you can proceed with installation in teminal:
composer require swissup/featured-attributes &&\
bin/magento setup:upgrade --safe-mode=1 &&\
bin/magento setup:di:compile &&\
bin/magento setup:static-content:deploy
Add Featured Attributes To Template
place code in list template in your theme /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();
}
?>
That’s all. Now you need configure extension in admin panel Configuration