定制 pronetis/pronetis-random-widget 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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_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

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-22