定制 landofcoder/module-barcodeinventory 二次开发

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

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

landofcoder/module-barcodeinventory

最新稳定版本:1.0.0

Composer 安装命令:

composer require landofcoder/module-barcodeinventory

包简介

Magento 2 extensoin Generate barcode for inventory product by landofcoder

README 文档

README

``landofcoder/module-barcodeinventory``

Compatible with magento 2.3.6, 2.4.0, 2.4.1, 2.4.2, 2.4.2-p1, 2.4.3

Main Functionalities

  • Generate barcode by inventory, mutil source stock
  • Add product to cart with barcode (GraphQl, REST API)
  • query find products by barcode (GraphQl, REST API)

Installation

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

Option 1 setup via composer (Recommended):

composer require landofcoder/module-barcodeinventory

Option 2 setup via upload FTP:

  • Unzip the zip file in app/code/Lof
  • Install picqer library: composer require picqer/php-barcode-generator
  • Install mpdf library: composer require mpdf/mpdf

Final step:

  • Enable the module by running php bin/magento module:enable Lof_BarcodeInventory
  • Apply database updates by running php bin/magento setup:upgrade*
  • Flush the cache by running php bin/magento cache:flush

Example Graphql

  1. Add Product To Cart by Barcode:
mutation{
  frontAddProductToCartByBarcode(
    cart_id: 22,
    barcode: "123456789"
  ){
    code
    message
  }
}
  1. Get Product info by Barcode:

query{
  frontProductByBarcode(barcode: "123456789"){
    id
    name
    sku
		thumbnail{
      url
      label
      position
    }
    price_range{
      minimum_price{
        regular_price{
          value
          currency
        }
        final_price{
          value
          currency
        }
      }
      maximum_price{
        regular_price{
          value
          currency
        }
        final_price{
          value
          currency
        }
      }
    }
  }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2021-08-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固