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
统计信息
- 总下载量: 2.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-18