# By Shipping Method

This setup allows you to calculate shipping costs based on the shipping method selected. You can choose to apply the rule either at the **order level** or for **specific products**, giving you flexibility in how shipping charges are applied.

### 1. Set Rule by Order

#### Step 1  - Create a Shipping Zone&#x20;

To start, you need to create a shipping zone that defines the countries this zone will cover.&#x20;

* Go to [**Cost Settings**](https://app.bloomanalytics.io/shipping_cost) **> Shipping**.

You can either:

* **Create a new shipping zone** and select the countries you want to include.
* **Select an existing shipping zone** if you’ve already added one.

**Note:** A country cannot belong to more than one shipping zone. If you try to add a country that is already part of another zone.

<figure><img src="/files/K34SxMmOPmeXOAtoWAQX" alt=""><figcaption></figcaption></figure>

#### Step 2 -  Create Shipping Cost Rules

* Select **“Set Rule by Order”** to calculate shipping costs at the order level.
* Select your desired **Shipping Method** to apply the rule across all shipping methods.

<figure><img src="/files/wIpuYFRJVvxeSioMp3Ln" alt=""><figcaption></figcaption></figure>

#### Step 3 - Set your Shipping Rates&#x20;

Once your shipping rule is selected, define how shipping costs are calculated. You can choose from the following methods:

**1. Fixed Rate for All Products**

Apply a flat shipping fee regardless of weight, quantity, or order value.

**2. Rate Based on Order Weight**

Set shipping costs according to weight ranges. For example:

* 1–1000 g → shipping = 2
* 2000–5000 g → shipping = 0.5
* 5000 g–∞ → shipping = 0.7

Shipping charges are cumulative across ranges. For instance:

* An order weighing 3000 g = 2 + 0.5
* An order weighing 6000 g = 2 + 0.5 + 0.7

**3. Rate Based on Item Quantity**

Set shipping costs depending on the number of items in the order. Charges are cumulative across quantity ranges, similar to weight-based rates.

**4. Rate Based on Order Value**

Set shipping costs based on the total value of the order. Rates can be defined in value ranges, and the shipping charges are applied cumulatively across those ranges.

Click **“Save”** to complete setting up the shipping rule by country.&#x20;

Click **Recalculate Shipping Costs** to ensure the updated shipping costs are applied and reflected in your profit calculations.

### 2. Set Rule by Product&#x20;

#### Step 1  - Create a Shipping Zone&#x20;

To start, you need to create a shipping zone that defines the countries this zone will cover.

* Go to [**Cost Settings**](https://app.bloomanalytics.io/shipping_cost) **> Shipping**.

You can either:

* **Create a new shipping zone** and select the countries you want to include.
* **Select an existing shipping zone** if you’ve already added one.

**Note:** A country cannot belong to more than one shipping zone. If you try to add a country that is already part of another zone.

<figure><img src="/files/K34SxMmOPmeXOAtoWAQX" alt=""><figcaption></figcaption></figure>

#### **Step 2 – Create Shipping Cost Rules (By Products)**

* Select **“Set Rule by Product”** to calculate shipping costs based on product groups.
* **Create a product group** – you can create multiple product groups for different sets of products.\
  **Note:** The same product cannot be added to more than one group.
* Select the **Shipping Method** from the dropdown menu.

<figure><img src="/files/4ket13PeBLF62BNzN9xd" alt=""><figcaption></figcaption></figure>

#### **Step 3 – Add Shipping Rates (By Products)**

After creating your product groups, define how shipping costs are calculated. You can choose from the following methods:

**1. Fixed Rate for All Products**

Apply a flat shipping fee to all products in the group, regardless of quantity.

**2. Rate Based on Item Quantity**

Set shipping costs depending on the number of items in the product group. Charges are cumulative across quantity ranges.

**Example:**

* 1–2 units → shipping = 1.5
* 3–5 units → shipping = 2
* 6 units and above → shipping = 2.5

**Cumulative Charges:**

* An order with 4 items = 1.5 + 2 = 3.5
* An order with 7 items = 1.5 + 2 + 2.5 = 6

Click **“Save”** to complete setting up the shipping rule by products.&#x20;

Click on  **Recalculate Shipping Costs** to ensure the updated shipping costs are applied and reflected in your profit calculations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bloomanalytics.io/shipping-costs-setup/1.-shipping-rule/by-shipping-method.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
