SwissUpLabs Logo

Manual Installation

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

  1. Open your account page at the site where you purchased the module and download it:
  2. 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
    
  3. Now, proceed to install section.

Install

When Marketplace module is installed you can proceed with installation in teminal:

composer require swissup/pro-labels &&\
bin/magento setup:upgrade --safe-mode=1 &&\
bin/magento setup:di:compile &&\
bin/magento setup:static-content:deploy

Upgrade from version 1.0.x to 1.1.0

You can get errors when you try to run setup:di:compile after upgrade. To solve them you have to remove deprecated files:

Block/Adminhtml/Label/Edit/Form.php
Block/Adminhtml/Label/Edit/Tab/Category.php
Block/Adminhtml/Label/Edit/Tab/Index/Grid.php
Block/Adminhtml/Label/Edit/Tab/Main.php
Block/Adminhtml/Label/Edit/Tab/Product.php
Block/Adminhtml/Label/Edit/Tabs.php
Block/Adminhtml/Label/Helper/CategoryImage.php
Block/Adminhtml/Label/Helper/ProductImage.php
Controller/Adminhtml/Label/NewConditionHtml.php
Model/Label/CategoryImage.php
Model/Label/CategoryUpload.php
Model/Label/ProductImage.php
Model/Label/ProductUpload.php
Ui/Component/Listing/Columns/CategoryImage.php
Ui/Component/Listing/Columns/ProductImage.php
view/adminhtml/requirejs-config.js
view/frontend/requirejs-config.js
view/frontend/web/css/prolabels.css
view/frontend/web/js/prolabel-product-view.js

Labels in Catalog and Search pages

ProLabels module does not require any changes in any templates or other source code files.

Installation instraction for ProLabels version 1.0.x reqired modification of theme templates to get labels on listing page. You can leave this modifications or rollback them. There are no conflicts with old version.

Reindex Labels From Command Line

    cd <magento_root>
    bin/magento prolabels:reindex:all
After installing the extension you can go to:
Edit this Page