Yireo_LokiCheckoutPostNl

Shipment
PHP 8.3 | 8.4
Magento 2.4.7 | 2.4.8
Integration Tests 12
Functional Tests 3
Latest Release 1.0.0

This is an add-on package for adding support for the shipping solution of Post NL to the LokiCheckout.

Installation

Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):

composer require yireo/magento2-loki-checkout-post-nl

Next, enable this module:

bin/magento module:enable Yireo_LokiCheckoutPostNl

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/Yireo_LokiCheckoutPostNl

Configuration Options

The following options of this module can be configured via the Store Configuration:

Post NL > Enable Maps
yireo_loki_checkout/post_nl/enable_maps
Toggle this setting to enable or disable the LokiCheckout on the fly. Probably you will keep this on at all times.
Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.shipping.shipping-methods.tig_postnl_regular.form
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Magento_Backend Magento_Config Magento_Customer Magento_Store TIG_PostNL Yireo_IntegrationTestHelper Yireo_LokiCheckout Yireo_LokiComponents Yireo_LokiFieldComponents
Composer details
Magento module name
Yireo_LokiCheckoutPostNl
Composer name
yireo/magento2-loki-checkout-post-nl
Composer version
1.0.0
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-backend: ^102.0
magento/module-customer: ^103.0
magento/module-config: ^101.2
magento/module-store: ^101.0
tig/postnl-magento2: ^1.16
yireo/magento2-loki-checkout: ~0.0 | ^1.0
yireo/magento2-loki-components: ~0.0 | ^1.0
yireo/magento2-loki-field-components: ~0.0 | ^1.0
yireo/magento2-loki-map-components: ~0.0 | ^1.0
ext-pcre: *
Releases
dev-main 30 May 2025
1.0.0 30 May 2025
0.0.6 25 April 2025
0.0.5 16 April 2025
0.0.4 10 April 2025
0.0.3 09 April 2025
0.0.2 08 April 2025
Changelog

[1.0.0] - 30 May 2025

Fixed

  • Update MODULE.json
  • Rewrite @helpers to @loki in Playwright tests
  • Disable maps by default
  • Add integration tests
  • First draft of maps
  • Generate new MODULE.json with simple test count
  • Rewrite Alpine from initActions object to methods starting with init
  • Allow PHP 8.4 in CI
  • Update composer and module deps

[0.0.6] - 25 April 2025

Fixed

  • Allow upgrading to LokiFieldComponents and LokiCheckout 1.0
  • CSP fixes
  • Remove CheckoutSession from context
  • Remove CartRepository from all contexts
  • Rewrite getCartRepository()->save() to getCheckoutState()->saveQuote()
  • Move tabs into new component partial

[0.0.5] - 16 April 2025

Fixed

  • WIP with business hours, MyParcel and deliveries
  • Move image from PostNl to core
  • Move common templates from PostNL to core
  • Insert Location into Marker
  • Unify locations and addresses for any maps

[0.0.4] - 10 April 2025

Fixed

  • Replace shipping address with pickup address successfully
  • Turn fallback message into exception
  • Catch possible exception

[0.0.3] - 09 April 2025

Fixed

  • Prevent error when PostNlOrder is still empty
  • Add draft of pickup address preview

[0.0.2] - 8 April 2025

Added

  • Allow switching shipping details in sidebar to alternate template
  • Allow for showing more locations
  • Refresh totals if timeframe or location changes
  • Add PostNL logo
  • Tabs for pickup and delivery
  • Show timeframes
  • Show delivery

[0.0.1] - 21 January 2025

  • Initial release

Last modified: April 30, 2025