定制 spryker/tax-app-vertex 二次开发

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

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

spryker/tax-app-vertex

最新稳定版本:0.1.0

Composer 安装命令:

composer require spryker/tax-app-vertex

包简介

TaxApp extension for Vertex app

README 文档

README

This package is abandoned. Use spryker-eco/vertex instead.

tax-app-vertex

This is an example of project-side integration with Spryker and ACP Vertex app. This code can be used as a starting point or for a demo.

If you want to add specific Vertex Codes for a specific products, etc., you have to add JSON file with path {projectRootDir}/data/import/vertex_codes.json with contents like this:

{
  "customerCodes": {
    "DE--1": "VC1",
    "DE--2": "VC2",
    "DE--3": "VC3"
  },
  "productCodes": {
    "001_25904006": "VP1",
    "002_25904004": "VP2",
    "003_26138343": "VP3"
  },
  "productOptionCodes": {
    "OP_1_year_warranty": "VP1",
    "OP_2_year_warranty": "VP2",
    "OP_3_year_warranty": "VP3",
    "OP_insurance": "VP4"
  },
  "expenseCodes": {
    "TYPE|NAME|MERCHANT_REFERENCE": "VE",
    "TYPE1|NAME|MERCHANT_REFERENCE1": "VE1"
  },
  "exemptionsCertificates": {
    "DE--1": "VES1",
    "DE--2": "VES2",
    "DE--3": "VES3"
  }
}

In this case values which are specified in this file will override original default values in package. The logic will work in 2 ways:

  1. If you've provided custom mapping. For example you are specified "DE--1": "VC1" in customerCodes section (which means customer with customer referece DE--1 should have vertex xode VC1). If customer will be found in the cart or order it will be populated wuth this code. If not it will be populated with random Vertex Code you've provided.
  2. If you've not provided cusomt mappins. It will work the same but will use internal mapping which you could find in Spryker/Zed/TaxAppVertex/Communication/VertexCodeMapper.php.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固