Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

https://gitlab.creativestyle.pl/magesuite/in-store-pickup-payment

This module provides the possibility to choose a DHL packstation as a delivery method. It adds an additional field to the address: Dhl Customer number and adds a search field selecting packstation

Table of Contents
minLevel1
maxLevel7

Installation

Info

This module is optional.

Code Block
composer require "creativestyle/magesuite-packstation-dh;" ^2in-store-pickup-payment": "1.0.0

User guide

4.5. DHL Packstation shipping 2.0

"

Admin settings

In Stores -> Configuration -> Sales -> Delivery methodsPayment Methods a new tab - Packstation DHL In Store Pickup Payment is available.

...

The following options can be configured (in described scopes) :

Name

Value

Comment

Enabled

 Yes/No Method Name

by default this module is disabled

Title

Mode

 Live/Sandbox 

API Key

Provide API Key for Location Finder - Unified API. It can be found in your DHL developer account in aplication details under 'Credential' section

Enable Debug

 Yes/No 

 Enable this option to log requests

Price

Minimum subtotal for free shipping

Maximum subtotal

Maximum weight

Sort Order

Type

 None/ Per Order / Per Item 

Use system value

Ship to Applicable Countries

 All Allowed Countries/Specific Countries 

Use system value

Ship to Specific Countries

Displayed Error Message

Default value: This shipping method is not available. To use this shipping method, please contact us.New order status

 Pending 

Payment from applicable Countries

All Allowed Countries/Specific Countries

Payment from Specific Countries

 

 Allows to choose specific countries from given list

Instruction

Minimum order total

Maximum order total

Sort Order

Backend

Frontend

Frontend screens

In the checkout delivery method section a new method is displayed:

...

The address of the packstation is displayed in the shipping step of checkout.

...

Styling

As the module is optional styling is not provided by default. The following import must be uncommented in a child theme that inherits from theme-creativeshop, in src/entries/checkout.ts file:

Code Block
import 'MageSuite_PackstationDhl';

Scripts

  • magesuite-packstation-dhl/view/frontend/web/js/model/packstations-service.js

  • magesuite-packstation-dhl/view/frontend/web/js/view/dhl-packstation.js

  • magesuite-packstation-dhl/view/frontend/web/js/view/packstation-selector.js

...