定制 hsoni/module-shopfinder 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

hsoni/module-shopfinder

最新稳定版本:1.0.3

Composer 安装命令:

composer require hsoni/module-shopfinder

包简介

Shopfinder Magento 2 Module

README 文档

README

Installation

The extension must be installed via composer. To proceed, run these commands in your terminal:

composer require hsoni/module-shopfinder
php bin/magento module:enable Hsoni_Shopfinder
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

GraphQL

Create Shop

Creates new Shop query format

mutation {
    createShop(
        input:{
            identifier  :"shop-identifier"
            shop_name  :"Shop Name" 
            country  :"US"
            image  :"image.jpg"
            longitude  :"2.232123"
            latitude  :"123232" 
        }
    ){
        shopfinder_id
        identifier 
        shop_name 
        country
        longitude
        latitude
    }
}

Update Shop

Update Shop query format

mutation {
    updateShop(
        input:{
            shopfinder_id  :3,
            identifier  :"shop-identifier", 
            shop_name  :"New shop name", 
            country  :"UAE",
            longitude  :"122.232123",
            latitude  :"123.232",   
        }
    ){
        message
    }
}

Delete Shop

Delete shop query format

mutation {
    deleteShop(
        shopfinder_id: 10
    ){
        message
    }
}

Fetch All Shops

Get list of all shops

{
    shopfinderList(
        pageSize: 10
        pageNo: 1
    ){
        shoplist{
            shopfinder_id
            shop_name
            identifier
            country
            image
            longitude
            latitude
        }
    }
}

Get Particular Shop

Get shop by shopfinder_id or identifier

{
    shopfinder(identifier:'shop-identifier') {
        shopfinder_id
        shop_name
        identifier
        country
        image
        longitude
        latitude
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2023-04-23