PHPackages                             elgentos/magento2-hyva-checkout-ab-test - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. elgentos/magento2-hyva-checkout-ab-test

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

elgentos/magento2-hyva-checkout-ab-test
=======================================

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

2.0.3(4mo ago)206.2k↓45.8%3[2 issues](https://github.com/elgentos/magento2-hyva-checkout-ab-test/issues)MITPHPPHP ^8.1

Since Nov 9Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/elgentos/magento2-hyva-checkout-ab-test)[ Packagist](https://packagist.org/packages/elgentos/magento2-hyva-checkout-ab-test)[ RSS](/packages/elgentos-magento2-hyva-checkout-ab-test/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (10)Used By (0)

elgentos/magento2-hyva-checkout-ab-test
=======================================

[](#elgentosmagento2-hyva-checkout-ab-test)

This extension allows you to set up an A/B test with different available Hyvä and the Luma fallback checkout.

You can configure a specific split between multiple checkouts, like the configured Hyva Checkout and the Luma fallback checkout. Or between the Hyva Checkout onepage version and the Hyva Checkout multi-step version.

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

[](#installation)

```
composer require elgentos/magento2-hyva-checkout-ab-test
bin/magento set:up
```

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

[](#configuration)

You can enable the extension under Stores &gt; Configuration &gt; Hyvä Themes &gt; Checkout &gt; A/B Test.

[![image](https://user-images.githubusercontent.com/431360/201086503-6c54b1e0-68bd-4ec2-ab6b-e85bb52854b5.png)](https://user-images.githubusercontent.com/431360/201086503-6c54b1e0-68bd-4ec2-ab6b-e85bb52854b5.png)

Usage
-----

[](#usage)

### Checkout Selection

[](#checkout-selection)

The module determines which checkout to use based on the following priority:

1. **URL Parameter Override** (if allowed)

    - In **development mode**: The `active_checkout_namespace` URL parameter can always be used to manually select a checkout
    - In **production mode**: The parameter can only be used if "Allow URL Parameter Override" is enabled in configuration
2. **Developer Mode**: If no URL parameter is provided, development mode always uses the default checkout configured in `hyva_themes_checkout/general/checkout`
3. **Random Assignment**: In production mode (without URL override), customers are randomly assigned to configured checkouts based on their percentage split

### Manual Checkout Selection via URL

[](#manual-checkout-selection-via-url)

You can manually override the checkout selection by adding the `active_checkout_namespace` query parameter:

```
http://store.test/checkout?active_checkout_namespace=hyva
http://store.test/checkout?active_checkout_namespace=luma

```

**In Development Mode:** This parameter always works and overrides the default checkout selection.

**In Production Mode:** This parameter only works if "Allow URL Parameter Override" is enabled under Stores &gt; Configuration &gt; Hyvä Themes &gt; Checkout &gt; A/B Test.

Reports
-------

[](#reports)

You can check the progress of the A/B test by running this query;

```
SET SQL_MODE='';
SELECT quote.active_checkout_namespace as checkout, COUNT(quote.entity_id) as quotes, COUNT(sales_order.quote_id) as orders, (COUNT(sales_order.quote_id) / COUNT(quote.entity_id)*100) as conversion_percentage
FROM quote
         LEFT JOIN sales_order ON quote.entity_id = sales_order.quote_id AND sales_order.state IN ('completed', 'processing')
WHERE quote.active_checkout_namespace IS NOT NULL
GROUP BY quote.active_checkout_namespace;
```

If you want to see the results in the Magento admin, you can install [degdigital/magento2-customreports](https://github.com/degdigital/magento2-customreports) and add the above query. Be sure to leave out the SQL\_MODE part (Magento does this for you) and leave no trailing/leading white lines.

The report will look like this;

[![image](https://user-images.githubusercontent.com/431360/200922747-6be0d031-3156-40cd-a989-c8399d4daae3.png)](https://user-images.githubusercontent.com/431360/200922747-6be0d031-3156-40cd-a989-c8399d4daae3.png)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance75

Regular maintenance activity

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~172 days

Recently: every ~301 days

Total

8

Last Release

127d ago

Major Versions

1.0.5 → 2.0.02024-12-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/88a6d8dc588e8f2a0948335563a754687f71304f0bd3b7f7049d4bcdc00a563c?d=identicon)[peterjaap](/maintainers/peterjaap)

---

Top Contributors

[![peterjaap](https://avatars.githubusercontent.com/u/431360?v=4)](https://github.com/peterjaap "peterjaap (12 commits)")[![fsesini-avery](https://avatars.githubusercontent.com/u/176918575?v=4)](https://github.com/fsesini-avery "fsesini-avery (2 commits)")[![JCombee](https://avatars.githubusercontent.com/u/8409152?v=4)](https://github.com/JCombee "JCombee (2 commits)")

---

Tags

hyva-themesmagento2magento2-extensionmagento2-plugin

### Embed Badge

![Health badge](/badges/elgentos-magento2-hyva-checkout-ab-test/health.svg)

```
[![Health](https://phpackages.com/badges/elgentos-magento2-hyva-checkout-ab-test/health.svg)](https://phpackages.com/packages/elgentos-magento2-hyva-checkout-ab-test)
```

###  Alternatives

[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[mollie/magento2-hyva-checkout

Hyvä Themes Checkout module for Mollie Payments

11240.0k](/packages/mollie-magento2-hyva-checkout)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

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