7.0.0 • Published 1 year ago

vendure-plugin-shipping-by-weight-and-country v7.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Shipping by weight and country Vendure Plugin

Vendure version

Official documentation here

This plugin adds a shipping eligibility checker to Vendure that checks the total weight and the shipping country of an order, to verify if a shipping method is eligible for a given order.

The weight of a product can be configured on the customfield Product.weight. You can configure the units to be in KG, grams or whatever unit you like.

Some examples:

  • Create a shippingmethod for orders placed in Australia, with a total order weight between 10kg and 40kg
  • Create a shippingmethod for all orders except the ones placed in Canada and Norway, with a total order weight below 1100 grams

Getting started

  1. Add the following to the plugins in vendure-config.ts:
plugins: [
  ...
    ShippingByWeightAndCountryPlugin.init({
      /**
       * Weight unit used in the eligibility checker
       * and product customfield.
       * Only used for displaying purposes
       */
      weightUnit: "kg",
      /**
       * The name of the tab the customfield should be added to
       * This can be an existing tab
       */
      customFieldsTab: "Physical properties"
    })
  ...
]
  1. Start your server
  2. Login to the admin UI and go to Shipping methods
  3. Create a new shippingmethod
  4. Under Shipping eligibility checker you should see Check by weight and country

This checker can be used to have a shippingmethod eligible for an order based on the total weight and shipping country of an order.

5.5.0

1 year ago

5.4.0

1 year ago

5.0.1

1 year ago

6.0.0

1 year ago

4.9.0

1 year ago

7.0.0

1 year ago

5.6.7

1 year ago

4.10.0

1 year ago

4.1.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

3.21.0

2 years ago

4.3.0

1 year ago

3.19.0

2 years ago

3.16.2

2 years ago

3.15.0

2 years ago