Giter Club home page Giter Club logo

drupal-commerce_fedex's Introduction

Drupal Commerce

Commerce FedEx provides direct FedEx integration with your Drupal Commerce 2.x e-commerce site on Drupal 8.

Supporting all FedEx shipping services and an increasing number of FedEx's special services, such as Hazardous Materials and Dry Ice, Commerce FedEx is designed to be your one-stop solution for all of your FedEx shipping requirements.

Until Commerce FedEx is enters the Beta phase, there will not be a guaranteed upgrade path between versions. We are doing our best to minimize disruption (we're using it in production already!), but pay close attention during upgrades as there may be cases where you will have to reinstall the module.

Please report bugs in the [issue queue] (https://www.drupal.org/project/issues/commerce_fedex?version=8.x).

Requirements

  • A FedEx shipping account from FedEx.com
  • Drupal 8
  • Drupal Commerce 2.x-dev (latest version)
  • Commerce Shipping 2.x-dev (latest version)

Installation

Use Composer to get Commerce FedEx and all of its dependencies installed on your Drupal 8 site:

composer require drupal/commerce_fedex

Then simply enable the "FedEx (Commerce Shipping)" module and visit Commerce > Configuration > Shipping Methods to configure FedEx.

drupal-commerce_fedex's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

drupal-commerce_fedex's Issues

FedEx vs Fedex

This is a note, mostly for myself. FedEx is short for Federal Express, so in camelCase and anytime the F is capitalized, I'm going to capitalize the E as well. I'm not sure I've been doing it consistently, but I think it should be FedExSomething, fedExSomething, fedex_something, but never FedexSomething. I'm going to go with that from now on, and fix any previous mistakes as I go.

Remove FedExServiceManager, move code into plugin

Spoke with bojanz in Slack recently and he provided some feedback on the module.

One of the things he said was that we should get rid of the service since we're only using it in one place, and just put that code directly in the FedEx plugin.

I initially didn't want to bloat that plugin with connection details and wanted to abstract whatever's providing the FedEx objects for use, however I can see his point--a service isn't really necessary if this is the only place we're going to need to access it.

Support configurable traits

Products need configurable "traits" such as Hazardous that will change the behavior of shipping calculation.

Currently @mdlutz24 is working on this feature.

Adding a new shipping method causes 500 error when this module is installed

when trying to add a new shipping method and Fedex is installed i get a 500 error & this message in the drupal logs:

TypeError: Argument 2 passed to Drupal\Component\Plugin\PluginManagerBase::createInstance() must be of the type array, null given, called in .../modules/contrib/commerce/src/Plugin/Field/FieldType/PluginItem.php on line 131

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.