rapidez / amasty-label
Rapidez Amasty Label
Installs: 2 872
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 4
Open Issues: 0
Requires
- php: ^8.0|^8.1|^8.2
- illuminate/database: ^9.0|^10.0|^11.0
- illuminate/support: ^9.0|^10.0|^11.0
- illuminate/view: ^9.0|^10.0|^11.0
- rapidez/core: ~0.54|^1.0|^2.0
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
.
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 the priorities and shape/image label types aren't supported. Also 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.