rapidez/magento2-compadre 问题修复 & 功能扩展

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

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

rapidez/magento2-compadre

最新稳定版本:1.2.2

Composer 安装命令:

composer require rapidez/magento2-compadre

包简介

Some Magento code to improve the Rapidez experience

关键字:

README 文档

README

This Magento Module will allow Rapidez to support more functionalities.

Current functionality

ProductStockItem

The ProductStockItem type is added to the ProductInterface in the GraphQL definition. Allowing you to retrieve the stock information of the product:

    product {
        id,
        sku,
        name,
        type_id,
        url_key,
        url_suffix,
+       stock_item {
+           max_sale_qty
+           min_sale_qty
+           qty_increments
+           in_stock
+      }
    }

Sales rule labels

The SalesRuleLabel type is added to the CartItemInterface in the GraphQL definition. Allowing you to retrieve the sales rule labels that are applied to a quote item:

    items {
        id
        quantity
+       sales_rule_labels {
+           name
+           description
+           store_label
+           discount_amount
+           from_date
+           to_date
+       }
    }

Login as Customer

When enabled and rapidez/login-as-customer is installed the admin "Log In As Customer" button will work with Rapidez as well.

Other

And it extends Magento functionality in order to facilitate file upload product options via GraphQL

Installation

In your Magento installation run

composer require rapidez/magento2-compadre
bin/magento module:enable Rapidez_Compadre

Configuration

Configuration options are available under Stores > Configuration > Rapidez > Config

Here you can configure what extra fields should be exposed in the GraphQL ProductStockItem, fields not exposed will be null.

Release instructions

If GraphQL changes have been made src/etc/module.xml must be updated with the new release version number. This way we can easily detect which fields should be available in GraphQL for use. As Introspection is disabled outside developer mode.

License

GNU General Public License v3. Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-11-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固