landofcoder/module-seller-coupon-graph-ql 问题修复 & 功能扩展

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

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

landofcoder/module-seller-coupon-graph-ql

最新稳定版本:1.0.2

Composer 安装命令:

composer require landofcoder/module-seller-coupon-graph-ql

包简介

Coupon code generation for Seller Items

README 文档

README

``landofcoder/module-seller-coupon-graph-ql``

Main Functionalities

  • Seller Coupon
  • The module allow Seller create sales rule, generate coupon code for customer via email
  • Customer will purchase seller's products and apply his coupon code to get discount price.

Installation

* = in production please use the --keep-generated option

Type 1: Zip file

  • Unzip the zip file in app/code/Lofmp
  • Enable the module by running php bin/magento module:enable Lofmp_CouponCodeGraphQl
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Type 2: Composer

  • Make the module available in a composer repository for example:
    • private repository repo.magento.com
    • public repository packagist.org
    • public github repository as vcs
  • Add the composer repository to the configuration by running composer config repositories.repo.magento.com composer https://repo.magento.com/
  • Install the module composer by running composer require landofcoder/module-seller-coupon-graph-ql
  • enable the module by running php bin/magento module:enable Lofmp_CouponCodeGraphQl
  • apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Queries

  1. My Coupon Codes
{
    myCouponCode (
        type: "all
        filters: {}
        pageSize: 10
        currentPage: 1
    ) {
        total_count
        items {
            coupon_id
            name
            alias
            code
            from_date
            to_date
            uses_per_customer
            discount_amount
            type
            times_used
            created_at
            expiration_date
            coupon_rule {
                rule_id
                rule_name
                discount_amount
            }
            seller_id
            seller {
                seller_id
                shop_title
                thumbnail
                url
            }
        }
    }
}
  1. Get seller public coupon codes
{
    sellerCoupons (
        sellerUrl: String!
        filters: {}
        pageSize: 5
        currentPage: 1
    ) {
        total_count
        items {
            coupon_id
            name
            alias
            code
            from_date
            to_date
            uses_per_customer
            discount_amount
            type
            times_used
            created_at
            expiration_date
            coupon_rule {
                rule_id
                rule_name
                discount_amount
            }
            seller_id
            seller {
                seller_id
                shop_title
                thumbnail
                url
            }
        }
    }
}
  1. Get public coupon codes
{
    publicCouponCode (
        type: String
        filters: {}
        pageSize: 5
        currentPage: 1
    ) {
        total_count
        items {
            coupon_id
            name
            alias
            code
            from_date
            to_date
            uses_per_customer
            discount_amount
            type
            times_used
            created_at
            expiration_date
            coupon_rule {
                rule_id
                rule_name
                discount_amount
            }
            seller_id
            seller {
                seller_id
                shop_title
                thumbnail
                url
            }
        }
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2022-08-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固