superpayments/superpayment-hyva
Composer 安装命令:
composer require superpayments/superpayment-hyva
包简介
Hyvä Themes Compatibility module for Superpayment
README 文档
README
This repository contains the module that enables SuperPayments support for Hyvä, https://www.hyva.io/.
Prerequisites
You must install the following before you install the Super Payments Hyvä plugin.
-
Install the SuperPayments Magento 2 Module, https://github.com/superpayments/magento-plugin
-
Install the Hyva Checkout, https://docs.hyva.io/checkout/hyva-checkout/getting-started/index.html
-
Hyva Theme, https://docs.hyva.io/hyva-themes/getting-started/index.html (there is a default theme)
-
Hyva Compatibility Module, https://docs.hyva.io/hyva-themes/compatibility-modules/index.html#compat-module-development-videos
Generate the Super Payments Hyvä Module
-
Update the Super Payments Hyvä Module version.
-
A new release can be created through using: https://github.com/superpayments/magento-plugin-hyva/releases/new.
Installation the module manually
-
Download and extract the ZIP file.
-
Connect to the Magento server.
-
Navigate to the "app/code" directory. Make sure the folder SuperPayments” exists, and create another folder called “SuperPaymentHyva” in that folder.
-
Go to the path "app/code/Superpayments/SuperPaymentHyva". Copy all the Super Payments Hyvä Module folders and files from the "src" folder in the downloaded module.
-
In the terminal, run the command:
php bin/magento hyva:config:generate
-
Check the file "app/etc/hyva-themes.json" to ensure that the path to the Hyva compatibility module files is correctly specified. This is necessary for generating styles.
-
Generate the CSS files:
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run ci npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run build-prod
Or from your theme:
npm --prefix app/design/frontend/<Vendor>/<Theme>/web/tailwind run ci npm --prefix app/design/frontend/<Vendor>/<Theme>/web/tailwind run build-prod
- Run the command and then configure the module in the admin panel.
php bin/magento setup:upgrade
Missing styles?
Make sure that PostCSS uses the postcssImportHyvaModules plugin in your theme:
- Go to your theme folder:
app/design/frontend/<Vendor>/<Theme>/web/tailwind - Install the module:
npm install --save-dev @hyva-themes/hyva-modules
- Open your
postcss.config.jsand add this as the first line:
const { postcssImportHyvaModules } = require("@hyva-themes/hyva-modules");
- Make sure the plugin is includes in the plugins list:
module.exports = { plugins: [ postcssImportHyvaModules, // ... ], };
superpayments/superpayment-hyva 适用场景与选型建议
superpayments/superpayment-hyva 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 925 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 08 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 superpayments/superpayment-hyva 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 superpayments/superpayment-hyva 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 925
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2024-08-30