Matrixrates Examples
Set up location and criteria-based shipping rates for Magento using Matrixrates
- Overview
- Country-based Filtering
- Country-based Filtering with Asterisks
- State-based Filtering
- City-based Filtering
- UK Postcode Filtering
- UK Highlands and Islands Postcode Filtering
- Numerical Range Postcode Filtering
- Weight-based Filtering
- Price-based Filtering
- Quantity-based Filtering
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.
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.
State-based Filtering
In this example CSV, a $30 rate applies to Alaska and Hawaii, while other states are charged $7.
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. 💡
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.
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.
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.
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.
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.
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.