Skip to content

Magento 2 extension to display swatch count instead of thumbnails in products list

License

Notifications You must be signed in to change notification settings

SmartexCanada/magento2-swatches-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packagist License Packagist Packagist

Magento 2 Swatches Count

Magento 2 extension to display swatch count instead of thumbnails in products list

System requirements

This extension supports and has been tested on the following versions of Magento:

Open Source Edition

  • 2.4.0 - 2.4.5

Installation

To install this module, use the following command:

composer require smartex/module-swatches-count

Afterwards, enable this module, run the setup scripts and flush the cache:

./bin/magento module:enable Smartex_SwatchesCount
./bin/magento setup:upgrade
./bin/magento cache:flush

Configuration

To show the swatch count on the products list, simply change the following config values.

Stores > Configuration > Catalog > Catalog > Storefront

  • Show Swatches in Product List: Yes
  • Show Swatch as Count (Product List): Yes