← All modules

Open source Magento 2 module

GLS for Magento 2

Parcel shop, home and business delivery in the checkout – and GLS labels in one click on the order. The customer gets the tracking link as soon as the order is invoiced.

Softcode_Gls · v2.0 · MIT

For you if you…

  • ship with GLS and want the parcel-shop choice in the checkout
  • want to create labels straight from the order in the admin
  • want the customer to get the tracking link automatically

What it solves

  • Labels are typed into GLS' own portal for every order
  • The customer picks a parcel shop, but the choice never reaches the order
  • Heavy orders have to be split into parcels by hand
  • The customer gets no tracking link until someone remembers to send it

Features

Three delivery types

GLS Home, Business and parcel shop – each with its own price.

Parcel-shop picker

The nearest parcel shops from GLS. The choice is saved on the cart and carried to the order.

Labels from the admin

“Create GLS label” on the order fetches the label from GLS and starts the download straight away.

Splits heavy orders

One label per parcel under a weight limit, plus one combined PDF for printing.

Tracking and shipment

When the order is invoiced, the shipment is created and the customer gets the email with the tracking link.

Items that don't ship

Virtual products and SKUs you list never ship. A cart with nothing to ship gets no delivery step.

Built to be extended

No shop-specific rules in the code. If you sell items that don't ship – courses, say – you add a rule from your own module. To address labels differently, you replace one class.

Requirements

Magento
2.4.6 – 2.4.8
PHP
8.1 – 8.4
Licence
MIT

Installation

With Composer from Packagist:

composer require softcode/module-gls:^2.0
bin/magento module:enable Softcode_Gls
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Questions about the module

Can we exclude items from shipping?

Yes. Virtual products and SKUs you list never ship, and a cart with nothing to ship gets no delivery step.

How are heavy orders handled?

The module creates one label per parcel under a weight limit and combines them in one PDF for printing.

Need GLS set up in your shop?

Questions about the module, or need it adapted to your shop? We are happy to install and adapt it.

Write to us