Skip to content
  • There are no suggestions because the search field is empty.

Matrixrates Examples

Set up location and criteria-based shipping rates for Magento using Matrixrates

Table of Contents

Overview

These examples illustrate different ways to configure shipping rates using the Matrixrates extension for Magento. Please note that these examples are specifically for Matrixrates. For ShipperHQ examples, visit the Example Scenarios category. 😊

Country-based Filtering

In this example CSV, if items are shipped to the UK, the cost will be $55. If shipping to the USA, the rate is $13.

Example CSV for country-based shipping rates.

Country-based Filtering with Asterisks

In this example CSV, a standard rate is defined for the USA, and a separate rate applies to all other countries, using destination shipping rule logic.

Example CSV for country-based shipping rates with asterisk.

State-based Filtering

In this example CSV, a $30 rate applies to Alaska and Hawaii, while other states are charged $7.

Example CSV showing state-based shipping rates.

City-based Filtering

This example CSV allows for a $20 rate for shipping to New York. This type of delivery will only appear if the city field is displayed. By default, Magento does not show the city field in the cart estimator, but it is available at checkout. 💡

Example CSV for city-based shipping rates.

City Field in Magento Checkout

UK Postcode Filtering

This example CSV provides a rate of £25 for Northern Ireland postcodes and £10 for the rest of the UK. Postcodes starting with "BT" use a wildcard (%) for matching.

Example showing UK postcode-based shipping rates.

UK Highlands and Islands Postcode Filtering

This example CSV includes common postcodes for the UK Highlands and Islands. Some postcodes use spaces, while others do not, to ensure accurate pattern matching. Shipping to PH18, a Highland location, will cost £12.95. Other UK postcodes, like SS7 5UH, are charged £25.

Example showing UK Highlands and Islands postcode shipping rates configuration.

City Example PH Postcode

City Example SS Postcode

Numerical Range Postcode Filtering

In this example CSV, a shipping rate of $8 applies if the postcode is between 90000 and 91000. All other US ZIP codes have a rate of $15.

Example showing how to configure shipping rates based on numerical codes.

Weight-based Filtering

Two rules guide this example:

  • Shipping to the USA for weights between 0lb and 20lb is $8 via Standard Shipping
  • Shipping to the USA for weights between 20.01lb and 1,000lb is $11 via Courier Shipping

This example CSV shows these scenarios.

Example showing how to configure weight-based shipping rates.

Price-based Filtering

Two rules guide this example:

  • Shipping to the USA for orders priced between $0 and $20 is $8 via Standard Shipping
  • Shipping to the USA for orders priced between $20.01 and $10,000 is $11 via Courier Shipping

This example CSV demonstrates this configuration.

Example showing how to configure order value-based shipping rates.

Quantity-based Filtering

Two rules guide this example:

  • Shipping to the USA for quantities between 0 and 2 is $8 via Standard Shipping
  • Shipping to the USA for quantities between 3 and 4 is $11 via Courier Shipping

This example CSV illustrates this setup.

Example showing how to configure order quantity-based shipping rates.