byte8/module-stock-radar-hyva 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

byte8/module-stock-radar-hyva

Composer 安装命令:

composer require byte8/module-stock-radar-hyva

包简介

Hyva theme compatibility for Byte8 Stock Radar — Alpine.js back-in-stock form, no jQuery/RequireJS.

README 文档

README

Companion module to byte8/module-stock-radar that swaps the Luma RequireJS template for an Alpine.js + Tailwind variant. Uses hyva.getFormKey() for CSRF and reads variant SKU updates from a byte8:stockradar:variant window event so configurable PDPs subscribe to the right simple SKU.

Install

composer require byte8/module-stock-radar-hyva
bin/magento module:enable Byte8_StockRadarHyva
bin/magento setup:upgrade

Both byte8/module-stock-radar and hyva-themes/magento2-theme-module must be installed and enabled.

What this module does (and doesn't)

  • ✅ Swaps the PDP "Notify me" template to a Hyva variant
  • ✅ Zero new admin or backend code
  • ❌ No new business logic — all validation, dispatch, and email sending lives in the parent module

Wiring variant SKU into the form

If the PDP is configurable, dispatch the variant SKU when the user picks options:

window.dispatchEvent(new CustomEvent('byte8:stockradar:variant', { detail: selectedSimpleSku }));

Hyva swatches and select renderers can hook into the private-content-loaded event or the swatch click handler to fire this.

Support

Byte8 Ltd — support@byte8.io

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: proprietary
  • 更新时间: 2026-05-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固