Skip to content

vilkasgroup/vg_postnord

Repository files navigation

Postnord shipping integration for Prestashop

Postnord integration for PrestaShop.

Docs

Please see documentation

Developing

cd modules
git clone git@github.com:vilkasgroup/vg_postnord.git
composer dump-autoload --optimize --no-dev --classmap-authoritative

And install the module

Creating a new release

Remember to:

  • Bump version number according to semver in the main module file
  • Update CHANGELOG, change next version to the new version and add new section for next version
  • Create pull request of the changes and merge to main
  • Tag main for the release using format vX.X.X (same version as in the main module file)
git tag vX.X.X
git push --tags

Github actions will create new release and add a zip package to it

Running tests

Tests require apikey to be defined.

POSTNORD_APIKEY=asdf composer run-script test

You can also define POSTNORD_HOST if left out it will default to atapi2.postnord.com

get your apikey from: https://atdeveloper.postnord.com/signup

Docs

Documentation is built using Jekyll in docs folder and is updated when new commits are pushed to main.

To build docs locally install ruby and bundler and run:

cd docs
bundle install
bundle exec jekyll serve

Docs use Minimal Mistakes theme.

Remember to update docs side nav if you add new sections

About

Postnord ingration for Prestashop shops by Vilkas

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •