hawksama/hyva-used-product-notice

There is no license information available for the latest version (v1.0.2) of this package.

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.

v1.0.2 2025-01-14 12:59 UTC

This package is auto-updated.

Last update: 2025-06-29 02:09:45 UTC


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

  1. 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.
  2. 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.
  3. Separate Checkout Consent (Optional)

Product Page Example

When a product is marked as “used,” a notice appears below the price or any custom block you configure:

Used Product Page

Admin Configuration

Enable or customize the “used product” notices directly in Magento’s Stores > Configuration.
Below is a screenshot of the admin settings:

Admin Configuration

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:

CMS Block Example

Configuration

  1. Used Product Attribute
    • Enable the product attribute used_product to identify items requiring a disclaimer.
  2. CMS Block
    • Edit the CMS block with id used_product_message and make it tailored to you're needs!
  3. Enable the Module
    • Once enabled, any product with this attribute set to true will show the used-product notice on its detail page.
  4. 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

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:

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!