# Weight Conditional Logic

It is possible to set the weight of the ordered item dynamically with the help of Weight Conditional Logic.

The related modal form can be accessed by clicking on this icon in the [Builder](/uni-cpo-4-documentation/usage/panel.md).

![](/files/-M50Y5c8fJsV-zwk782y)

This is how it looks like:![](/files/-M50Y5cA8IpD0T7LhRHd)There are two major settings:

* Enable disable weight calculation
* Enable/disable weight conditional logic functionality

The principles of how the main formula and the conditional logic work for weight calculation are the same as for [Formula and Formula conditional logic](/uni-cpo-4-documentation/usage/panel/fcl.md). The main difference is what this functionality calculates. In this case it calculates the weight of the cart item that contains the current product. You can [enable displaying the weight calculated next to the cart item title](/uni-cpo-4-documentation/usage/plugins-settings.md).

Weight calculation is a handy tool for calculating the wight of the cart item dynamically. Using this value in one of the variety of shipping cost calculation plugins **gives a possibility to calculate real shipping rates**! 🏆 However UniCPO DOES NOT calculate a shipping cost by itself. It sets cart item's weight dynamically, so shipping cost calculation plugins could use this value! Also, please, notice that not every shipping cost calculation plugin is compatible with UniCPO and this feature. Please, check the section about [compatible plugins and themes](/uni-cpo-4-documentation/plugins-compatibility.md).


---

# 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://kb.moomoo.agency/uni-cpo-4-documentation/usage/panel/wcl.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.
