Any chance this will be migrated to Drupal 8?

Comments

fandesignstudio created an issue. See original summary.

jcherbert’s picture

There are a number of other Drupal Commerce modules that still need to be ported before this module:
Commerce_Shipping (not ready yet)
Commerce_Physical

mstrelan’s picture

Title: Drupal 8 migration? » Drupal 8 port
Component: Miscellaneous » Code
Assigned: fandesignstudio » Unassigned
Category: Feature request » Plan

I believe Commerce Shipping is now ready, as is Physical, but not Commerce Physical.

I had a look at the progress of Commerce Fedex and found this Github repo which doesn't seem to need Commerce Physical. It also uses a 3rd party API implementation to do most of the work. Perhaps this module could use fontis/auspost-api-php to do the heavy lifting?

mstrelan’s picture

There's also a fork of that repo that has more recent commits and more api implementations.

torpy’s picture

Hey there,

We've started on a port of this to Drupal 8 since we needed it for an upcoming project. It ended up requiring a ground-up rewrite thanks to the the complete architectural overhaul of Commerce in D8 and it's now based off the commerce_fedex architecture and the fontis/auspost-api-php library (thanks for the tip @mstrelan!).

Currently what works:

  • Integration with Commerce Shipping
  • The ability to set multiple custom package types for shipping
  • Shipping service selection (except letters and insured services)
  • Rate calculations for domestic/international parcels

What doesn't/is in flight:

  • Insurance
  • Letters
  • The packing algorithm needs much more testing, I'm not convinced it's working correctly
  • Documentation!
  • Tests

You can find the code at:

Composer is required and you must be on PHP 5.6 or later.

To install, first add the following to your repositories parameter in composer.json:

        {
            "type": "vcs",
            "url": "https://github.com/Sitback/commerce_auspost"
        }

Then add a the following to require:

"drupal/commerce_auspost": "dev-8.x-1.x"

I'll keep this thread updated with progress!

mlhoque’s picture

Status: Active » Fixed

Hi Everyone,

The Drupal 8 dev version has now been added and available under releases.

Cheers!
Muzammel

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.