Download the PHP package tig/gls-magento2 without Composer
On this page you can find all versions of the php package tig/gls-magento2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tig/gls-magento2
More information about tig/gls-magento2
Files in tig/gls-magento2
Package gls-magento2
Short Description TIG Magento 2 GLS extension
License CC-BY-NC-ND-3.0
Homepage https://tig.nl/
Informations about the package gls-magento2
TIG GLS Netherlands for Magento 2
We created this extension to easily integrate GLS' Delivery Services into Magento 2.
What does it do?
- Add GLS as a shipping method to Magento 2's checkout.
- Show available Delivery Options in The Netherlands depending on zipcode and shipping date, such as:
- Express Delivery (e.g. before 9.00 AM, 12.00 AM or 5.00 PM),
- Saturday Delivery,
- Delivery to a ParcelShop (sorted by distance from zipcode),
- Ship outside The Netherlands using Standard Delivery.
- Use table rates to set different shipping rates per country and order subtotal.
- Easily create, delete or print labels from within the Shipment-view:
- Including ShopReturn-label (if enabled).
- Enable/disable Express Delivery Services separately,
- Offer discounts or calculate additional for specific Delivery Services.
Installation using Composer
composer require tig/gls-magento2
Installation without using Composer
Clone or download the contents of this repository into app/code/TIG/GLS
.
Development Mode
After installation, run bin/magento setup:upgrade
to make the needed database changes and remove/empty Magento 2's generated files and folders.
Production Mode
After installation, run:
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy [locale-codes, e.g. nl_NL en_US]
- `bin/magento cache:flush
Done!
Configuration
API credentials
To use this module you need API credentials provided by GLS. These can be entered in Stores / Configuration / Sales / GLS.
Shipping Method
To configure the shipping method's handling fees, available services, etc. go to Stores / Configuration / Sales / Shipping Methods / GLS.
Store Address and E-mail addresses
Because each label requires a valid Sender Address, it is mandatory to configure a store address at Stores / Configuration / General / General / Store Information. The House Number should be entered in Street Address Line 2.
GLS will notify your customers with emails about the delivery time. The sender name and sender email are from the Magento configuration located at Stores / Configuration / Store Email Addresses / Customer Support.
Table Rates (Price vs Destination)
To configure different handling fees for different countries, setup table rates in Stores / Configuration / Sales / Shipping Methods / GLS using Website as the Scope.
Start by using the Export CSV button, which results in an empty CSV-file with the following columns:
- Country: (2 or 3 lettered) country codes according to ISO standards.
- Region/State: Specify a region or state to make the shipping applicable only to this region. Keep in mind that this field is optional in the checkout for some countries. Wildcard = *
- Zip/Postal Code: This should the the exact postal code. E.g. for The Netherlands and without postal code validation you should have 2 lines in your CSV-file per postal code, e.g. 1014BA and 1014 BA. Wildcard = *
- Order Subtotal (and above): apply this shipping rate if the total cart value exceeds this amount (e.g. 100.) Defaults to 0.
- Shipping Price: e.g. 9.95 (using a period as delimiter) is added to the amount specified as Handling Fee in Stores / Configuration / Sales / Shipping Methods / GLS.