viraxpress/restrict-checkout 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

viraxpress/restrict-checkout

最新稳定版本:1.0.0

Composer 安装命令:

composer require viraxpress/restrict-checkout

包简介

Restrict Checkout for ViraXpress

README 文档

README

A Magento 2 module that restricts checkout access based on customer group minimum order value rules.

Description

This extension allows store administrators to define checkout restrictions for specific customer groups. Rules can be configured with minimum order amounts and whether the restriction applies to cart subtotal or grand total. When a checkout attempt does not meet the configured criteria, the customer is redirected back to the cart with a custom error message.

Features

  • Restrict checkout per customer group
  • Apply minimum order restrictions based on subtotal or grand total
  • Define custom error messages with placeholders
  • Redirect invalid checkout attempts back to the cart
  • Admin dynamic rule grid for multiple customer-group restrictions
  • Overrides checkout link behavior to help prevent checkout when the minimum is not met

Compatibility

-- Magento: 2.4.x

Installation

  1. Install the extension via Composer:

    composer require viraxpress/restrict-checkout
  2. Run the following commands from your Magento root directory:

    php bin/magento module:enable ViraXpress_RestrictCheckout
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush

Configuration

  1. In Magento Admin, go to Stores > Settings > Configuration.
  2. Open the ViraXpress tab and select Minimum Order Value Restriction.
  3. Enable the module and add one or more rules using the dynamic rule grid.
  4. For each rule, select:
    • Customer group
    • Restriction type: Subtotal or Grand Total
    • Minimum order amount
    • Custom error message

Custom Error Message Placeholders

  • {{minimum_amount}} — Configured minimum amount
  • {{order_subtotal}} — Current cart subtotal
  • {{order_total}} — Current cart grand total

Support

For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.

License

This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-06-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固