Bring Fraktguiden provides shipping calculations based on shipping rates from bring.no
All standard shipping methods from Bring are built-in. Volume calculations based on product dimensions and weight.
Please consult the installation section and the changelog section before installing or upgrading.
Special thanks goes to out to Matt Gates for starting this project and allowing us to build upon his original codebase.
When you install bring, you need to head to the settings page to start configuring Bring to your specifications.
- Upload
bring-fraktguiden-for-woocommerce
to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to wp-admin > WooCommerce > Settings > Shipping
- Select Bring Fraktguiden
- Enable and configure Bring Fraktguiden
To ensure Bring is working correctly, you must set the following:
- Dimension and weight units
- WooCommerce > Settings > Products
- Currency
- WooCommerce > Settings > General
- Product dimentions
- Woocommerce > Products > Product
Q: Why do rates not show up on the cart page?
A: Rates are only shown when the customer has a valid postcode/zip code.
Q: My products have dimensions, but they're being classified as heavy, why?
A: Check your dimensions are set to the right unit values. Often, products are measured in MM but the default woocommerce unit is CM. This causes Bring to consider your products to be 10x their size.
To file an issue, use this repo: https://github.com/drivdigital/bring-fraktguiden-for-woocommerce/issues/new
Bring Fraktguiden for WooCommerce is an open source project and we love pull requests and feedback from anyone. By participating in this project, you agree to abide by the Covenant code of conduct
- Make sure you have a GitHub account
- Submit a ticket for your issue, also check if your issue hasn't already been reported.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Make sure you fill in the earliest version that you know has the issue.
- Fork the project.
- Create a topic branch from the master branch.
- To quickly create a topic branch based on master;
git checkout -b fix/master/my-contribution master
. Please avoid working directly on themaster
branch.
- To quickly create a topic branch based on master;
- Make changes to your forked repository
- Ensure you stick to the WordPress Coding Standards
- Ensure you use LF line endings
- Make sure you have tested your changes.
- Make commits of logical units.
- Check for unnecessary whitespace with
git diff --check
before committing. - Make sure your commit messages are in the proper format.
$ git commit -m "A brief summary of the commit
>
> A paragraph describing what changed and its impact."
- Create a pull request
This section applies to project maintainers only.
Prerequsites:
- Node.js
- driv-cli
- SVN (for commiting to Wordpress.org)
- Write access to the Wordpress.org SVN repository
Procedure:
- Make sure you have SVN installed and have read/write access to the WordPress.org project
- Install driv-cli
- Add
git@bitbucket.org:drivdigital/driv-cli-wp.git
to your${DRIV-CLI-HOME}/repositories.json
- Add
- Navigate to
${PROJECT-HOME}
. - Make sure the
build.json
has the correct version number. - Type
driv wp plugin
(assuming you have created an alias nameddriv
). - Choose
release
from the menu.