Giter Site home page Giter Site logo

schematic-commerce's Introduction

Schematic for Commerce Scrutinizer Code Quality Build Status Code Coverage

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

schematic-commerce's People

Contributors

bobbysprakel avatar bvangennep avatar roelvanhintum avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.