# FedEx One Rate

The extension supports shipping with [FedEx One Rate](https://www.fedex.com/en-us/shipping/one-rate.html). To use this flat-rate shipping service you need to create package material entries in Shopware Administration. This manual will guide you to the process.

### Introduction

For FedEx One Rate you have to use only special branded FedEx boxes with pre-defined dimension and weights. The advantage is a cheaper shipping than with your own boxes.

If you have created package entries our extension calculates in checkout automatically if a FedEx One Rate is available for your customer. If not it offers the regular shipping.\
The calculation is done by sum up the product dimensions and weights of the items in the cart. Additionally package material defined in the package entry is added.

{% hint style="info" %}
Please ensure that every of your product has a width, height, length and weight. Otherwise FedEx One Rate is not working.
{% endhint %}

### List of package entries

Go to **Settings > Extensions > FedEx > Packages for FedEx One Rate (US domestic only)** and create package entries for every package type you want to use. For instance **FedEx Small Box**, **FedEx Medium Box** and so on.

See a list of already created package entries. With the toggle you can enable/ disable an entry directly. By clicking at the **...** you can **edit** or **delete** an entry and with the button **Add** you can create a new entry.

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

### Edit/ Create a package entry

After clicking the **Add** button or the **...** and choosing **Edit** you are redirected to the detail page to insert all necessary information for an entry.

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

#### Base settings

| Field              | Type       | Description                                          |
| ------------------ | ---------- | ---------------------------------------------------- |
| Active             | Toggle     | Enable or disable the entry.                         |
| Internal name      | Text field | Choose a name of the entry only for internal use.    |
| FedEx package type | Select box | Choose the FedEx package type you want to configure. |

#### Package material settings

|                         |              |                                                                                                    |
| ----------------------- | ------------ | -------------------------------------------------------------------------------------------------- |
| Package material width  | Number field | Enter the width of the package material. If there is no additional package material then enter 0.  |
| Package material height | Number field | Enter the height of the package material. If there is no additional package material then enter 0. |
| Package material length | Number field | Enter the length of the package material. If there is no additional package material then enter 0. |
| Package material weight | Number field | Enter the weight of the package material. If there is no additional package material then enter 0. |


---

# 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.premsoft.de/en/plugins/fedex/fedex-one-rate.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.
