macopedia / magento2-bestsellers
Module for Magento2 for mapping bestseller attribute on bestseller category.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Type:magento2-module
Requires
- php: ^8.1
- magento/magento2ce: ^2.4.4
README
Module for Magento 2 responsible for automatically assign products with bestseller attribute to bestseller category.
Requirements
PHP >= 8.1 Magento Open Source version >= 2.4.4
Main features
- Automatically add product with
Bestseller
attribute set onYes
to bestsellers category after product save - Automatically remove product with
Bestseller
attribute set onNo
from bestsellers category after product save - Automatically synchronize product with
Bestseller
attribute to bestsellers category in cronjob every day at 5:00 AM
Installation
- Using composer:
composer require macopedia/magento2-bestsellers
- Using zip file:
- Download zip file
- Extract module in directory
app/code/Macopedia/Bestsellers
Enable module and install patches:
bin/magento module:enable Macopedia_Bestsellers
bin/magento setup:upgrade
Configuration
- If you don't have category created - create
Bestseller
category in your Magento 2 instance - Go to
Stores > Configuration > Macopedia > Bestseller
- In group
General
chooseEnabled
toYes
to activate module - In group
Mappings
selectBestseller Attribute
- this attribute is created automatically and has nameBestseller
- In group
Mappings
selectBestseller Category
- category which you decided to use as category for bestsellers - Save configuration
- Clean configuration cache
Usage
- Go to product edit and open group
Product Details
- Change
Bestseller
attribute value toYes
- Save product
Contributors
@idziakjakub @msloboda-macopedia