Coder Social home page Coder Social logo

dhl-module-label-status-m2's Introduction

DHL Label Status extension

This extension adds status icons for orders created with the DHL Shipping extension to the Magento® 2 orders grid.

Description

This extension adds icons for DHL shipment status to the Magento® 2 orders grid.

This functionality was previously available as part of DHL Shipping. Since DHL Shipping version 0.10.0 it is available as a separate add-on.

It is not designed to function without the DHL Shipping extension.

Requirements

  • dhl/module-shipping-m2 >= 0.10.0
  • Magento 2.2.4 to 2.3
  • PHP 7.0.2 to 7.3

Installation Instructions

The DHL Label Status extension can be installed via Composer:

composer require dhl/module-label-status:*

Enable Module

Once the source files are available, make them known to the application:

./bin/magento module:enable Dhl_LabelStatus
./bin/magento setup:upgrade

Last but not least, flush cache and compile.

./bin/magento cache:flush
./bin/magento setup:di:compile

Uninstallation

The following sections describe how to uninstall the module from your Magento® 2 instance.

To unregister the shipping module from the application, run the following command:

./bin/magento module:uninstall --remove-data Dhl_LabelStatus
composer update

This will automatically remove source files, clean up the database, update package dependencies.

Please note that automatic uninstallation is only available on Magento version 2.2 or newer. On Magento 2.1 and below, please use the following manual uninstallation method.

Manual Steps

To uninstall the module manually, run the following commands in your project root directory:

./bin/magento module:disable Dhl_LabelStatus
composer remove dhl/module-label-status

To clean up the database, run the following commands:

ALTER TABLE `sales_order_grid` DROP COLUMN `dhlshipping_label_status`;
DROP TABLE `dhlshipping_label_status`;
DELETE FROM `setup_module` WHERE `module` = 'Dhl_LabelStatus';

Support

In case of questions or problems, please have a look at the Support Portal (FAQ) first.

If the issue cannot be resolved, you can contact the support team via the Support Portal or by sending an email to [email protected].

Developers

License

OSL - Open Software Licence 3.0

Copyright

(c) 2019 DHL Paket GmbH

dhl-module-label-status-m2's People

Contributors

sebastian80 avatar andreasmueller75 avatar jkeller92 avatar powli avatar mam08ixo avatar magicsunday avatar

Stargazers

Guus avatar Simon Sprankel avatar  avatar Norman Golatka avatar

Watchers

Sebastian Mendel avatar James Cloos avatar  avatar  avatar  avatar Max Melzer avatar  avatar Benjamin Heuer avatar Norman Golatka avatar muh-nr avatar  avatar Andrii Rublov avatar

dhl-module-label-status-m2's Issues

Support for PHP7.3

Magento 2.3.4 has support for PHP7.3. When upgrading to PHP7.3 we see the following error:


  Problem 1
    - dhl/module-label-status 1.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0 -> your PHP version (7.3.14) does not satisfy that requirement.
    - dhl/module-label-status 1.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0 -> your PHP version (7.3.14) does not satisfy that requirement.
    - dhl/module-label-status 1.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0 -> your PHP version (7.3.14) does not satisfy that requirement.
    - dhl/module-label-status 1.0.1 requires php 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0 -> your PHP version (7.3.14) does not satisfy that requirement.
    - Installation request for dhl/module-label-status (locked at 1.0.1, required as *) -> satisfiable by dhl/module-label-status[1.0.1].

Please update the PHP version constraint in composer.json to support PHP7.3.

unable to create a virtual order

With Dhl_LabelStatus installed a virtual order can not be created in checkout.
the function $carrier = $order->getShippingMethod(true)->getData('carrier_code'); will fail for virtual orders since shipping does not exist.

see PR here
#2

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.