> For the complete documentation index, see [llms.txt](https://manual.cube.mo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.cube.mo/huo-yun-she-zhi/song-huo-fu-wu/4.-song-huo-fei-yong-de-ji-suan-fang-fa.md).

# 5. 送貨費用的計算方法

![](/files/-MOkQi0Rcw6JbVVUjGDT)

![](/files/-MToVJHNK0hIJAuqT-Mv)

| 當顧客在一張訂單內購買多樣商品時，而各商品的運送方式不同時，商家可選擇:                                      |
| ------------------------------------------------------------------------- |
| ●    各商品的送貨費用的總和 ，例如A商品送貨費用是MOP10，B商品送貨費用是MOP20，總運費是MOP30。                |
| ●    使用送貨費中最貴的 ，例如A商品送貨費用是MOP10，B商品送貨費用是MOP20，總運費是MOP20（MOP20是送貨費用中最貴）。   |
| ●    使用送貨費中最便宜的 ，例如A商品送貨費用是MOP10，B商品送貨費用是MOP20，總運費是MOP10（MOP10是送貨費用中最便宜）。 |


---

# 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://manual.cube.mo/huo-yun-she-zhi/song-huo-fu-wu/4.-song-huo-fei-yong-de-ji-suan-fang-fa.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.
