Magento 2 Module – Product Sorting by Popularity

€71.52 €58.15
COMPOSER Installation
M2-POPULARITY
PayPal PayPal
Przelew Przelew

Magento Modules: Clear Guidelines

You purchase the module once, with no domain restrictions

Tooltip

Free installation and updates via Composer

Tooltip

Affiliate Program

Tooltip

Technical support for Magento

Tooltip

Clear guidelines for licensing Magento modules

Tooltip

Magento Module Code Security

Tooltip

Do you want to increase sales in your Magento store? The Product Sorting by Popularity module is a solution that automatically displays the best-selling products at the top, increasing their visibility and sales.

How does the module work?

The module installs two new attributes for products:

  • Popularity – calculates popularity based on actual sales data from a time range specified by you.
  • Custom Popularity – allows you to manually set an artificial popularity value for selected products to more effectively promote specific goods.

Popularity calculations are performed automatically using a (cron) schedule every day at 5:00 AM (0 5 * * *). Additionally, the module offers the option to manually run calculations from the Magento admin panel, where you can continuously review results in clear logs.

Key features of the module

  • Enable and disable the module – easy management of sorting availability.
  • Set calculation period – determine the number of days for which sales data should be analyzed.
  • Order status selection – the analysis will only include orders with statuses specified by you, allowing for precise adaptation to the store's needs.
  • Excluding store views – option to exclude specific store views from the popularity analysis so they do not skew the results.
  • Log preview – easy access to product popularity calculation results in the admin panel.

Benefits of using the module in a Magento store

  • Greater sales – products with high popularity appear at the top of the list, naturally increasing their conversion.
  • Automated merchandising – saves time thanks to automated sales analysis and product sorting.
  • Promoting selected products – ability to manually increase popularity using the custom_popularity attribute.
  • Flexible configuration – full control over the data analyzed by the module.
  • Transparency and control – access to logs allows ongoing control of the effectiveness of popularity calculations.

The importance of proper product presentation from a marketing perspective

Proper presentation of the product offer is a key element of the success of any online store. Customers often make purchasing decisions based on what they see first. Highlighting bestsellers and products with high interest positively influences conversion and builds a positive store image. Through automatic sorting by popularity, you can more effectively implement your marketing strategy, leading to higher sales and greater customer satisfaction.

Who is this module for?

The Product Sorting by Popularity module is suitable for any Magento store that aims to increase sales and effectively promote bestsellers. It will easily increase the visibility of the most desired products.

SEO and optimization of the Magento store

By using sorting by popularity, you also improve the user experience, which positively affects the store's SEO. High product popularity indicates their attractiveness, which can lead to increased organic traffic and better positions in search results.

Summary

The Product Sorting by Popularity module is an effective and simple tool that will increase your Magento store's sales efficiency. Start showcasing your bestsellers today and watch your sales results grow.

Installation and Configuration Guide for the 'Product Sorting by Popularity' Module for Magento 2

1. Module Installation via Composer

Follow the steps below to correctly install the module in your Magento 2 store:

Step 1: Add Repositories to Composer Configuration

composer config repositories.popularity vcs https://github.com/kowalco/module-popularitycomposer config repositories.attributes.query vcs https://github.com/kowalco/magento-2-attributes-query

Step 2: Add GitHub Private Repository Access Token

composer config --global --auth github-oauth.github.com 

Step 3: Install the Module Using Composer

composer require kowal/module-popularity

Step 4: Enable the Module in Magento 2

php bin/magento module:enable Kowal_Popularity

Step 5: Apply Database Updates

php bin/magento setup:upgrade

Step 6: Clear Magento Cache

php bin/magento cache:flush

2. Module Configuration in Magento Admin Panel

After installing the module, go to the Magento admin panel and follow the steps below:

a) Module Settings:

  • Go to Stores → Configuration → Kowal → Popularity.
  • Enable or disable the module with the 'Enable Module' field.
  • Set the popularity analysis period (in days) in the 'Sales Analysis Period' field.
  • Select order statuses to be included in the popularity analysis.
  • Select store views to be excluded from popularity calculations.
  • Save the configuration.

b) Setting Sorting by 'popularity' Attribute:

  • Go to Stores → Configuration → Catalog → Catalog → Product List.
  • In the 'Available Product Listing Sort By' section, ensure the 'Popularity' attribute is added.
  • In the 'Default Product Listing Sort By' section, you can set 'Popularity' as the default product sorting method.
  • Save the configuration.

After completing these steps, your Magento 2 store will automatically sort products by their popularity.

Wersja: 1.0.6

15.04.2025

Rozbudowa

Dodano możliwość sortowania produktów według atrybutu popularności w widżecie PageBuildera – Product List oraz Product List Slider. Nowa opcja ‘Popularity (malejąco)’ umożliwia wyświetlanie najpopularniejszych produktów na początku listy, zgodnie z wartością atrybutu popularity.

Questions and Answers

Question
Does the module automatically place the most popular products at the top of the category list?
Answer
Yes — the module analyzes sales from a specified time period and, based on that, sets the products with the highest popularity as the default in the product list sorting.
Question
How does the module determine a product’s “popularity”?
Answer
The module creates two attributes: “Popularity,” which is calculated automatically based on sales data, and “Custom Popularity,” which allows you to manually set the popularity value for selected products.
Question
Can I set the period from which the module retrieves sales data for analysis myself?
Answer
Yes — in the module configuration, you can specify the number of days from which sales data should be analyzed.
Question
Does the module only take into account orders with a specific status?
Answer
Yes — the module configuration allows you to specify which order statuses should be taken into account when calculating product popularity.
Question
Can I disable popularity analysis for specific store views (multi-store)?
Answer
Yes — the module allows you to exclude selected store views from popularity analysis, providing flexibility in multi-store environments.
Question
Does the module overwrite Magento core or template files?
Answer
No — the module works within the standard Magento 2 architecture as an extension and does not require modifying the system’s core files.
Question
After installation, do I need to add the “Popularity” option myself in the product list sorting configuration?
Answer
Yes — after installation, go to Catalog → Product List and add the “Popularity” attribute as a sorting option or set it as the default sorting method.
Question
Does the module allow you to manually “boost” the popularity of selected products?
Answer
Yes — with the “Custom Popularity” attribute, you can manually set the popularity value for specific products, which allows you, for example, to promote certain items.
Question
Does the module affect the store’s performance?
Answer
The impact is minimal — the analysis runs once a day using CRON (e.g., at 5:00 AM) and does not significantly load the store’s frontend. However, testing in a staging environment is recommended.
Question
Which Magento versions are supported by this module?
Answer
The module declares compatibility with, among others, Magento 2.3.4-2.3.7 and 2.4.0-2.4.7.
Write Your Own Review
You're reviewing:Magento 2 Module – Product Sorting by Popularity
Your Rating
Aktualizacja preferencji plików cookie