承接 elgentos/magento2-hyva-checkout-ab-test 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elgentos/magento2-hyva-checkout-ab-test

Composer 安装命令:

composer require elgentos/magento2-hyva-checkout-ab-test

包简介

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

README 文档

README

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

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

Configuration

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

image

Usage

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

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 > Configuration > Hyvä Themes > Checkout > A/B Test.

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 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

elgentos/magento2-hyva-checkout-ab-test 适用场景与选型建议

elgentos/magento2-hyva-checkout-ab-test 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.13k 次下载、GitHub Stars 达 16, 最近一次更新时间为 2022 年 11 月 09 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 elgentos/magento2-hyva-checkout-ab-test 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 elgentos/magento2-hyva-checkout-ab-test 我们能提供哪些服务?
定制开发 / 二次开发

基于 elgentos/magento2-hyva-checkout-ab-test 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 6.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-09