Leading Software & Website Development House info@approsoft.com +92 300 796 4968

Woocommerce Gls Documentation

INSTALLATION

  1. Upload and Activate the plugin
  2. Go to Woocommerce > Settings > GLS Pricing Plan and select you plan
  3. You are good to go.

SHIPPING ZONES

Shipping zones are added in wocommerce 2.6. Create a zone and setup your GLS settings for each zone.
Please see this woocommerce docs here.
If you activate the shipping settings on the default GLS setting page, this will apply if there is no shipping zone setup for a particular zone.
We recommend you deactivate shipping methods on the default settings page, and setup GLS shipping in each shipping zone.
See this quick gif intro:

Manual

GENERATE LABEL SETTINGS

Use your GLS user name and password for the fist two fields, and the “shop customer id” are the same as your user name.
How to find the ContactId:
– Log into YourGLS at www.gls-group.eu
– (1) Choose menu item “Parcel Processing” / “Opret labels”
– (2) Choose which shipper / customer number to use
– (3) The ContactID
If you are using pakkelabels.dk, you dont need to fill these fields. See the section below.

Now your generate label box should look like this:

Please note:

“Gls shop user name” and “Gls shop customer id” are the same numbers you have to insert.

RETURNLABELS

WOOCOMMERCE TEMPLATE FILES

If you have woocommerce’s files integration with your theme’s files and also using Woocommerce Gls Addon then copy files from
Files from this directory.
plugins/woocommerce-gls-addon/woocommerce/cart
Also from this directory.
plugins/woocommerce-gls-addon/woocommerce/ emails
Your respective theme woocommerce directories.

STYLING/CSS

If you want to style you checkout here are the css classes:

Cart Page Classes:

.woocommerce-cart ul#shipping_method
.woocommerce-cart li.wga_shipping_method
.woocommerce-cart input#shipping_method_0_wga_shipping_method
.woocommerce-cart label[for=’ shipping_method_0_wga_shipping_method’]
.woocommerce-cart .wgaShippingOptions .add_info_wga
.woocommerce-cart .wgaShippingOptions ul.shipping-slector
.woocommerce-cart .wgaShippingOptions li#shop_to_gls_shop
.woocommerce-cart .wgaShippingOptions .gls_tab
.woocommerce-cart .wgaShippingOptions input#wga_shop_postcode
.woocommerce-cart .wgaShippingOptions button#search-shop
.woocommerce-cart .wgaShippingOptions .shops-list ul
.woocommerce-cart .wgaShippingOptions .shops-list ul li
.woocommerce-cart .wgaShippingOptions .shops-list ul li .wcol1
.woocommerce-cart .wgaShippingOptions .shops-list ul li .wcol1 input[type=’radio’]

Checkout Page Classes:

.woocommerce-checkout ul#shipping_method
.woocommerce-checkout li.wga_shipping_method
.woocommerce-checkout input#shipping_method_0_wga_shipping_method
.woocommerce-checkout .wgaShippingOptionsCheckout . add_info_wga
.woocommerce-checkout .wgaShippingOptionsCheckout ul. shipping-slector
.woocommerce-checkout .wgaShippingOptionsCheckout li#shop_to_gls_shop
.woocommerce-checkout .wgaShippingOptionsCheckout . gls_tab
.woocommerce-checkout .wgaShippingOptionsCheckout input#wga_shop_postcode
.woocommerce-checkout .wgaShippingOptionsCheckout button#search-shop
.woocommerce-checkout .wgaShippingOptionsCheckout .shops-list ul
.woocommerce-checkout .wgaShippingOptionsCheckout .shops-list ul li
.woocommerce-checkout .wgaShippingOptionsCheckout .shops-list ul li .wcol1
.woocommerce-checkout .wgaShippingOptionsCheckout .shops-list ul li .wcol1 input[type=’radio’]