Book a Demo

Auto Related Products Widget for Magento 2
The Auto Related Products Widget for Magento 2 automatically shows top-selling and category-related products on your product pages. It works instantly after installation, with no backend setup required.
This widget replaces Magento’s native related products section by pulling suggestions based on real-time sales data and product categories. It helps improve upselling, product discovery, and overall customer engagement, all without manual configuration.
Key Features
-
Automatically displays 2 top-selling + 2 related products
-
Shows 4 category-related products if no top sellers exist
-
Prevents display of 4 top-sellers, enforces a smart 2-product limit
-
Built-in fallback logic ensures magento 2 auto-related items are always shown
-
Automatically filters out the current product from suggestions
-
Requires zero admin configuration; magento related products without configuration
-
Lightweight and fully backend-free
Screenshots




Request Customization

Who Is This For?
This extension is designed for Magento users who want to automate product recommendations without manual setup. It’s ideal for store owners, marketers, and admins who value speed, simplicity, and smarter upselling strategies.
-
Magento 2 Store Owners
Perfect for business owners who want to boost conversions through smart automation. The widget automatically showcases relevant products, helping customers discover more, leading to increased average order value. -
Marketers Focused on Upselling
Ideal for eCommerce marketing teams looking to promote high-performing or complementary products. The extension uses a built-in recommendation logic, eliminating the need for manual cross-sell setup. -
Merchants Managing Seasonal or Dynamic Inventory
Suited for stores that frequently update inventory, such as fashion, electronics, or lifestyle brands. The widget adapts automatically by displaying products based on current sales and category context. -
Magento Admins Who Prefer “Set and Forget” Tools
Great for backend users who want minimal maintenance. The extension works out of the box without any admin-side configurations, saving time and effort while delivering consistent results.


Advantages of Using This Extension
The Auto Related Products Widget for Magento 2 offers practical, performance-driven benefits that simplify product recommendation and maximize upselling potential, without manual effort.
-
Eliminates Manual Product Linking
No more spending hours setting up related product rules. This widget automates everything, saving time and reducing human error. -
Real-Time Recommendations
The extension dynamically pulls top-performing and category-relevant products at the moment of page load, ensuring suggestions are always timely and relevant. -
Personalized Shopping Experience
By showing products based on actual sales and browsing context, it helps customers discover more of what they’re likely to buy; boosting engagement and trust. -
Zero Configuration Required
From the moment it’s installed, the widget is active. There’s no need to configure settings in the admin, ideal for busy Magento users who need results quickly. -
Inventory-Aware Logic
The system never recommends the current product being viewed, and prioritizes high-performing items, all without interfering with inventory or order data. -
Designed for Speed and Scalability
Whether you’re a small store or a growing enterprise, this extension is lightweight and optimized to work seamlessly on Magento storefronts of any size. -
Supports Dynamic Merchandising
Merchants with seasonal trends, frequent sales, or rotating stock benefit from automated updates, no need to revisit related product logic manually.

Magento Compatibility
This extension is built to work seamlessly with the Magento editions listed below. It adheres to Magento’s development guidelines to ensure smooth installation, stable performance, and reliable integration across supported environments.
- Magento Open Source 2.3.x – 2.4.7
- Adobe Commerce – Cloud & On-Premise
- PHP 7.4+ Compatible
Why Choose This Extension?
The Auto Related Products Widget for Magento 2 is designed to improve your store’s upselling strategy with zero effort. It replaces Magento’s default related products with a smarter, sales-driven solution, built to perform from day one.
-
Smarter Than Native Magento
A smart, sales-based alternative to Magento’s default related products, offering more relevant and dynamic product suggestions. -
Built-In Upsell Logic
Comes with a powerful Magento 2 upsell widget that highlights high-converting products based on category and sales performance. -
Top-Selling Product Support
Leverages built-in Magento 2 top-selling products widget logic to automatically prioritize your best performers. -
No Manual Setup Needed
Ideal for Magento users who want to show related products automatically, without backend setup or rule configuration. -
Lightweight and Seamless
Adds no performance load to your store. The widget is optimized for speed and compatibility across all major browsers. -
Category-Based Display Logic
Perfect if you need to display related products by category Magento 2, ensuring relevance and context without manual curation.

Installation Guide
Follow these steps to install the Auto Related Products Widget in your Magento 2 store. The process requires no customization and can be completed using standard Magento CLI commands. Once installed, the widget works instantly; no backend setup or additional configuration needed.
Step 1: Upload the Extension
Copy the extension files to the following path in your Magento installation:
“app/code/Askantech/AutoRelatedProduct/”
Step 2: Run these commands from your Magento root:
From your Magento root directory, execute the following CLI commands:


How It Works
The Auto Related Products Widget for Magento 2 is built to integrate seamlessly with Magento’s native logic for product suggestions, requiring no manual configuration. Once installed, it automatically takes over the related products section on each product detail page and displays more relevant, dynamic results.
Here’s how the logic flows behind the scenes:
-
Hooks into Magento’s Native getItems() Logic
The extension uses Magento’s built-in method to retrieve product suggestions and replaces the default related product block with smarter, data-driven recommendations. -
Pulls Category-Based Product Suggestions
It fetches items from the same category as the current product to ensure relevance. This improves contextual discovery and helps shoppers find complementary items effortlessly. -
Smart Fallback Logic for Top Sellers
If sales data is available, it will display 2 top-selling products and 2 category-related items. If not, it will fall back to showing 4 related items, making sure the space never appears empty or irrelevant. -
Display Cap and Auto-Filtering
The extension enforces a 4-product limit per widget and automatically excludes the product currently being viewed, to avoid redundancy and confusion.
Important Post-Installation Step
To ensure top-selling product data is accurate and up to date:
- Go to Admin Panel → Reports → Refresh Statistics
- Select all options and click Refresh Lifetime Statistics
This ensures the widget pulls reliable sales performance data for its top-selling logic.
Technical Specifications
Seller Name
Askan Technologies Private Limited
Current Version
1.0.0
Last Updated
April 16, 2025
Magento Compatibility
Magento Open Source 2.3.x – 2.4.x
Platform Type
Stable Build
Supported Browsers
Chrome, Firefox, Safari, Edge, Opera
Categories
Content & Customizations, Personalization & Experience Management
License Type
Open Software License 3.0 (OSL-3.0)
Frequently Asked Questions (FAQs)
Have questions about how the Auto Related Products Widget works or what to expect after installation? Here are quick answers to the most common queries to help you get started with confidence.
Can I show more than 4 related products?
+Can I show only top-selling products?
+How are top-sellers identified?
+What if no top-sellers exist?
+Do I need to configure anything post-installation?
+Does it impact inventory or order data?
+Is it compatible with latest Magento 2 versions and PHP 7.4+?
+What should I do after installation?
+