hawksama/hyva-used-product-notice
Composer 安装命令:
composer require hawksama/hyva-used-product-notice
包简介
Hyvä-compatible Magento 2 module that displays a disclaimer for used products on the product page and requires customers to acknowledge no warranty or return policy during checkout.
README 文档
README
Hawksama_HyvaUsedProductNotice is a Hyvä-compatible Magento 2 module for stores selling used or “no-warranty” items. It displays a clear notice on the product page to inform buyers about limited or no return policy for second-hand products.
Overview
-
Product Page Notification
- If a product is flagged as “used,” this module automatically shows a disclaimer on the product detail page, informing buyers that return rights may be limited or nonexistent.
-
Lightweight & Hyvä-Compatible
- Developed for Hyvä-based themes, but does not require Hyvä Checkout.
- Minimal performance overhead, focusing on clarity for customers viewing used products.
-
Separate Checkout Consent (Optional)
- This module only handles product-page disclaimers.
- To prompt checkout consent, use Hawksama_HyvaCheckoutUsedProductNotice.
Product Page Example
When a product is marked as “used,” a notice appears below the price or any custom block you configure:
Admin Configuration
Enable or customize the “used product” notices directly in Magento’s Stores > Configuration.
Below is a screenshot of the admin settings:
Features
- Flexible CMS Block Usage: The disclaimers are loaded from a CMS block, so you can update its content, styling, or language without touching any code.
- Easy Integration : Simply enable the module, configure your “used product” attribute, and the notice appears on the PDP.
- Customizable Wording : Tailor the disclaimer text to match your store’s branding and local legal requirements.
- Standalone : No dependencies on Hyvä Checkout or Magewire. Perfect if you only want product-page notices.
CMS Block Usage
You can edit the CMS block with id used_product_message and make it tailored to your store needs:
Configuration
- Used Product Attribute
- Enable the product attribute
used_productto identify items requiring a disclaimer.
- Enable the product attribute
- CMS Block
- Edit the CMS block with id
used_product_messageand make it tailored to you're needs!
- Edit the CMS block with id
- Enable the Module
- Once enabled, any product with this attribute set to
truewill show the used-product notice on its detail page.
- Once enabled, any product with this attribute set to
- Messaging
- Edit the disclaimer text to suit your store’s policy and local regulations (e.g., language about no returns, limited warranty, etc.).
Use Cases
- Second-Hand Electronics: Let buyers know these items are sold “as is” with no returns.
- Refurbished Goods: Ensure customers acknowledge limited or nonexistent warranties.
- Vintage Items: Clarify that due to age/condition, standard return policies do not apply.
Known Limitations
- Hyvä Theme: Recommended for Hyvä-based frontends.
- Checkout Consent: Not included in this module. Use Hawksama_HyvaCheckoutUsedProductNotice if you need a checkout acknowledgment step.
License & Contributing
- License: Distributed under the MIT License.
- Contributions: Feedback and PRs are welcome. Feel free to open an issue or submit improvements to enhance used-product notice handling.
Installation instructions
composer require hawksama/hyva-used-product-notice bin/magento setup:upgrade bin/magento cache:flush
Contact
For any questions or suggestions:
- Maintainer: Alexandru Carabus
- Or email me to manue971@icloud.com
- Or open an issue in this repository.
Thank you for using Hawksama_HyvaUsedProductNotice! This module aims to provide clarity and reduce ambiguity for customers buying used items. Enjoy a more transparent and compliant shopping experience!
hawksama/hyva-used-product-notice 适用场景与选型建议
hawksama/hyva-used-product-notice 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 2, 最近一次更新时间为 2025 年 01 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 hawksama/hyva-used-product-notice 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hawksama/hyva-used-product-notice 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 22
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-01-14


