pronetis/pronetis-random-widget
最新稳定版本:1.0.0
Composer 安装命令:
composer require pronetis/pronetis-random-widget
包简介
Magento 2 widget for displaying random products in a grid layout.
README 文档
README
Magento 2 widget module that displays a random set of products in a grid format.
Features
- Renders products using native
Magento_CatalogWidgetgrid 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
- Go to Content > Widgets > Add Widget
- Choose type: Catalog Products List
- Set design theme and proceed
- In widget options:
- Set widget type to use
Pronetis\RandomWidget\Block\Widget\Random - Set number of products (default: 5)
- Set widget type to use
- Save and clear cache
License
MIT
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-22