Skip to content

rapidez/amasty-label

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rapidez Amasty Label

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 9