定制 nerds-and-company/schematic-commerce 二次开发

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

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

nerds-and-company/schematic-commerce

Composer 安装命令:

composer require nerds-and-company/schematic-commerce

包简介

Synchronize Commerce settings with Schematic

README 文档

README

Schematic for Commerce is a package for synchronizing Commerce settings with Schematic.

Installation

This tool can be installed using Composer. Run the following command from the root of your project:

composer require nerds-and-company/schematic-commerce

This will add nerds-and-company/schematic-commerce as a requirement to your project's composer.json file and install the source-code into the vendor/nerds-and-company/schematic-commerce directory.

Usage

This package should be loaded with a Craft plugin, which implements the registerMigrationService() hook of Schematic:

use NerdsAndCompany\Schematic\Commerce\Services as Commerce;

public function registerMigrationService()
{
    return [
        'commerce_orderSettings' => new Commerce\OrderSettings(),
        'commerce_emails' => new Commerce\Emails(),
        'commerce_orderStatuses' => new Commerce\OrderStatuses(),
        'commerce_paymentMethods' => new Commerce\PaymentMethods(),
        'commerce_paymentCurrencies' => new Commerce\PaymentCurrencies(),
        'commerce_taxCategories' => new Commerce\TaxCategories(),
        'commerce_shippingCategories' => new Commerce\ShippingCategories(),
        'commerce_productTypes' => new Commerce\ProductTypes(),
        'commerce_countries' => new Commerce\Countries(),
        'commerce_states' => new Commerce\States(),
        'commerce_taxZones' => new Commerce\TaxZones(),
        'commerce_taxRates' => new Commerce\TaxRates(),
        'commerce_shippingZones' => new Commerce\ShippingZones(),
        'commerce_shippingMethods' => new Commerce\ShippingMethods(),
    ];
}

Here is a list of all of the supported Commerce data types:

Data Type
Order Settings
Order Statuses
Emails
Payment Methods
Payment Currencies
Product Types
Countries
States
Tax Categories
Tax Rates
Shipping Categories
Shipping Zones
Shipping Methods

License

This project has been licensed under the MIT License (MIT). Please see License File for more information.

Changelog

CHANGELOG.md

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固