...
Name | Value | Comment |
---|---|---|
Enabled | Yes/No | by default this module is disabled |
Method name | title displayed in checkout | |
Title |
| description displayed in checkout |
Price | ||
Search radius |
| |
Displayed error message |
...
In the checkout delivery method section a new method is displayed:
...
After DHL packstation is selected the address form is hidden, Dhl Customer number
is shown along with the Select packstation
button.
...
Pick in Store is selected user store is picked up based on provided informations and if this is not possible user is redirected to next tab.
In the modal, it is possible to enter a postal code or city name and select a pack station.
...
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
are the most important scripts with packstation logic.
Additionally the following mixins are added to Magento checkout scripts:
...
store:
...
Styling
There is no need to add additional styling.