PHPackages                             hawksama/hyva-checkout-used-product-notice - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. hawksama/hyva-checkout-used-product-notice

ActiveMagento2-module

hawksama/hyva-checkout-used-product-notice
==========================================

Extends Hawksama\_HyvaCheckoutUsedProductNotice to support Hyvä Checkout consent.

v1.0.1(1y ago)101PHP

Since Jan 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Hawksama/hyva-checkout-used-product-notice)[ Packagist](https://packagist.org/packages/hawksama/hyva-checkout-used-product-notice)[ RSS](/packages/hawksama-hyva-checkout-used-product-notice/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Hawksama\_HyvaCheckoutUsedProductNotice
=======================================

[](#hawksama_hyvacheckoutusedproductnotice)

**Hawksama\_HyvaCheckoutUsedProductNotice** is a Magento 2 module that **extends** [Hawksama\_HyvaUsedProductNotice](https://github.com/hawksama/hyva-used-product-notice) to add a **checkout confirmation step** for used or “no-warranty” products on **Hyvä Checkout**.

> **Important**
>
> - If you only need the **product page** disclaimer, install **Hawksama\_HyvaUsedProductNotice** without this module.
> - If you want **both** product page notices **and** a checkout confirmation step, install **this** module: ```
>     composer require hawksama/hyva-checkout-used-product-notice
>     ```
> - You **must** have **Hyvä Checkout** installed for this module to function correctly. Otherwise, you will encounter errors.

---

Overview
--------

[](#overview)

1. **Extends the Used Product Notification**

    - By default, Hawksama\_HyvaUsedProductNotice shows a notice on the product detail page for items flagged as “used.”
    - This module adds **checkout-level** functionality that **requires** customers to confirm they understand these items have no warranty or return policy before placing an order.
2. **Hyvä-Exclusive**

    - Built specifically for **Hyvä Checkout** using Magewire. If you don’t use Hyvä Checkout, this module is not applicable.
3. **Customer Consent**

    - During checkout, customers see a checkbox acknowledging the limited return/warranty policy for used goods.
    - No consent → they can’t finalize the checkout. This ensures clarity and reduces potential disputes.

---

Product Page Example
--------------------

[](#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](docs/images/used-product-PDP.png)](docs/images/used-product-PDP.png)

---

Checkout Page Example
---------------------

[](#checkout-page-example)

When a product is flagged as “used,” this module injects a confirmation step into the **Hyvä Checkout** flow. A checkbox appears prompting the customer to acknowledge that these items come with limited or no warranty/return policy. This ensures the customer is fully informed before they place their order:

[![Used Product Checkout](docs/images/used-product-checkout.png)](docs/images/used-product-checkout.png)

1. **Clear Messaging**
    A concise label or disclaimer text (customizable via CMS block or configuration) appears next to the checkbox, explaining the policy for used products.
2. **Required Confirmation**
    If the customer doesn’t check the box, they can’t proceed with the checkout. This prevents accidental purchases or misunderstandings about return rights.
3. **Seamless Integration**
    The checkbox and disclaimer are rendered via a Magewire component, blending neatly into the Hyvä Checkout UI without disrupting the customer experience.

---

Admin Configuration
-------------------

[](#admin-configuration)

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

[![Admin Configuration](docs/images/admin-config.png)](docs/images/admin-config.png)

---

Features
--------

[](#features)

- **Seamless Hyvä Checkout Integration**: Adds a Magewire component that hooks into the Hyvä checkout flow.
- **Session-Based Consent**: Customer acknowledgment persists during the checkout session.
- **Customizable Language**: Adjust disclaimers to suit your store’s branding and legal requirements.
- **Lightweight Extension**: Focuses on the checkout experience; all product page logic remains in the original module.

---

CMS Block Usage
---------------

[](#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](docs/images/cms-block.png)](docs/images/cms-block.png)

---

Requirements
------------

[](#requirements)

- **Magento 2.4.x**
- **Hyvä Themes** with **Hyvä Checkout** enabled
- [Hawksama\_HyvaUsedProductNotice](https://github.com/hawksama/hyva-used-product-notice) (for the underlying “used product” attribute checks)

---

Configuration
-------------

[](#configuration)

- **Checkout Consent**: In your admin panel, ensure the “Enable On Checkout” option is on.
- **Hyvä Checkout**: Confirm you’re running Hyvä Checkout so the Magewire component can properly render.

---

Usage &amp; Customization
-------------------------

[](#usage--customization)

- Once this module is enabled, any items with the `used_product` attribute set to `true` will trigger a **consent checkbox** on the checkout page.

---

Known Limitations
-----------------

[](#known-limitations)

1. **Hyvä Dependency**
    - This module will not function with Luma or other checkouts.
2. **Single-Attribute Check**
    - Currently monitors a single attribute (e.g., `used_product`); extending to multiple attributes might require custom logic.

---

License &amp; Contributing
--------------------------

[](#license--contributing)

- **License**: Distributed under the [MIT License](LICENSE).
- **Contributions**: Feedback and PRs are welcome. Feel free to open an issue or submit improvements.

---

Installation
------------

[](#installation)

```
composer require hawksama/hyva-checkout-used-product-notice
bin/magento setup:upgrade
bin/magento cache:flush
```

---

Contact
-------

[](#contact)

For any questions or suggestions:

- **Maintainer**: [Alexandru Carabus](https://www.linkedin.com/in/alexandru-manuel-carabus/)
- **Email**:
- Or open an issue in this repository.

\*\*Thank you for using Hawksama\_HyvaCheckoutUsed

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance42

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~17 days

Total

2

Last Release

466d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5d9b3bcbbbebb62b1f53afd772f4a81d02a77e969b0acc23e565a28f64445c8?d=identicon)[hawksama](/maintainers/hawksama)

---

Top Contributors

[![Hawksama](https://avatars.githubusercontent.com/u/46504593?v=4)](https://github.com/Hawksama "Hawksama (4 commits)")

### Embed Badge

![Health badge](/badges/hawksama-hyva-checkout-used-product-notice/health.svg)

```
[![Health](https://phpackages.com/badges/hawksama-hyva-checkout-used-product-notice/health.svg)](https://phpackages.com/packages/hawksama-hyva-checkout-used-product-notice)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[elgentos/magento2-hyva-checkout-ab-test

Set up an A/B test with different available Hyvä and Luma checkouts

154.2k](/packages/elgentos-magento2-hyva-checkout-ab-test)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[mage-os/mageos-common-async-events

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

147.7k2](/packages/mage-os-mageos-common-async-events)[graycore/magento2-graphql-logger

106.6k](/packages/graycore-magento2-graphql-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
