> For the complete documentation index, see [llms.txt](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/b2b-pricing/more-add-depth-and-flexibility-to-your-b2b-pricing/shipping-rate/settings-for-shipping-rate.md).

# Settings for Shipping Rate

Which Shipping Rate to Apply

When multiple shipping rules apply to the same products or customers, choose which rate takes effect:

| Option               | Behavior                                                          |
| -------------------- | ----------------------------------------------------------------- |
| **The lowest rate**  | The system automatically uses the lowest applicable shipping rate |
| **The highest rate** | The system uses the highest applicable shipping rate              |

***

### What the Rate Is Based On

Choose how the shipping fee is calculated when a rule only applies to certain products in the cart:

#### Entire Order

The shipping rate is calculated based on the subtotal, total quantity, or total weight of **all products in the cart** — including products that are not covered by the shipping rule.

**Example:** You create a shipping rule for Product A (Product B has no shipping rule).

| Range       | Rate          |
| ----------- | ------------- |
| 5–15 items  | 20%           |
| 16–30 items | $10 flat rate |

**Scenario 1**

* 3 × Product A = $30
* 7 × Product B = $35
* Total items: 10 → falls in 5–15 range
* Order subtotal: $65
* **Shipping: 20% × $65 = $13**

**Scenario 2**

* 12 × Product A = $120
* 8 × Product B = $40
* Total items: 20 → falls in 16–30 range
* Order subtotal: $160
* **Shipping: $10 flat rate**

> This logic applies equally to Amount Range and Weight Range, not just Quantity Range.

***

#### Applied Products Only

The shipping rate is calculated based on the subtotal, total quantity, or total weight of **only the products that the shipping rule applies to**. Other products in the cart are ignored for shipping calculations.

**Example:** You create a shipping rule for Product A (Product B has no shipping rule).

| Range       | Rate          |
| ----------- | ------------- |
| 5–15 items  | 20%           |
| 16–30 items | $10 flat rate |

**Scenario 1**

* 3 × Product A = $30
* 7 × Product B = $35
* Total items: 10, Applied items: 3 → falls in 5–15 range
* Applied subtotal: $30
* **Shipping: 20% × $30 = $6**

**Scenario 2**

* 18 × Product A = $180
* 2 × Product B = $10
* Total items: 20, Applied items: 18 → falls in 16–30 range
* **Shipping: $10 flat rate**

> This logic applies equally to Amount Range and Weight Range, not just Quantity Range.

{% hint style="info" %}
If you have trouble while using the app, feel free to reach us at [**support-sbc@bsscommerce.com**](mailto:support-sbc@bsscommerce.com) or [**Live Chat**](https://go.crisp.chat/chat/embed/?website_id=9f64b5a9-1a02-4190-93b8-8ef56b19f740)**.**
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/b2b-pricing/more-add-depth-and-flexibility-to-your-b2b-pricing/shipping-rate/settings-for-shipping-rate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
