pronetis/pronetis-random-widget

Magento 2 widget for displaying random products in a grid layout.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/pronetis/pronetis-random-widget

1.0.0 2025-05-22 10:14 UTC

This package is auto-updated.

Last update: 2025-12-22 11:32:06 UTC


README

Magento 2 widget module that displays a random set of products in a grid format.

Features

  • Renders products using native Magento_CatalogWidget grid template
  • Random product order (uses ORDER BY RAND())
  • Simple integration with default widget interface
  • Basic cache control

Installation

composer require pronetis/module-random-widget bin/magento module:enable Pronetis_RandomWidget bin/magento setup:upgrade

Usage

  1. Go to Content > Widgets > Add Widget
  2. Choose type: Catalog Products List
  3. Set design theme and proceed
  4. In widget options:
    • Set widget type to use Pronetis\RandomWidget\Block\Widget\Random
    • Set number of products (default: 5)
  5. Save and clear cache

License

MIT