# How to Hide “Cash on Delivery (COD)” when the cart subtotal is greater than 100?🤔

### **Step 1: Create a New Function:**

* Navigate to your **Nexus Dashboard** and click on **Create Function.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeWTS7TLaiRafEVQ4ZndzcDW1ZjpIejj6eytgaD1LhzMcHTgoGHK1NXxIlAqRVgAnvDYIztFxGPzkPp9q5cI6xw1jVfwBDyfCts-jx_pCiSQ8zy41a79F4L1GXbGE4xfySO6Mw32w?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

* Select **Payment Functions** from the list of **function types.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfRUQzuNJVzsKkBUaEyIPJ_7yzwklpw3DHiVvm7YnaXUzVizlxGyJefeu3nOs85Jxxqwpq6Z4z4QOhfVAZcPA16GaM1JA0-I3lxhy0DiWdtkYlfxOP4KW5uU3ieKsUEh9XScdfn1Q?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### **Step 2: Choose Hide Payment Method**

* Click on **Hide Payment Method.**
* A **configuration screen** will appear where you can **set conditions** based on your **specific requirements** (e.g., **customer type, cart total, tags,** etc.).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfr4GzWJfLpLdZ4ZbxQSajm_TGmpkb4elufqlvzexWgEfBtUm4CYe85tX4J07eLKwFLtATr4x00v3F5dlLxFa7WGYBo-Q-kwOcLxCPT753QzWLOB_N7_woarkNb8eRrzqhygbDejg?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### **Step 3: Specify & Save:**

* **Select Cart/Subtotal** from **CART Qualifier**
* **Behavior:** Cart/SubTotal
* **Condition:** Greater than
* **Value:** 100
* After **setting the conditions,** select the **payment method** you want to hide.
* Click **Save** to apply the function.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcyF3xhQC0d4mKih8QM95M-ij-sSUg0UW_fqzRjUJQzSWrv9ekd47NoHYCbWgNhHNwzYWYLkAgivwE2RuEoLOObad7fc_ESorlgTHRzAPc4ytlJQ5cYltIoBrpzyNpCb084JEQTKg?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

**✅ That’s it!** Your selected **payment method** is now hidden — helping you **deliver a cleaner, more focused checkout experience. 😊🔒**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfvfDuaZn13IRyukCVMjWAsUfEroEv55ncq6Ind_Uf8GuSPj_iz3JrXlQhw1J4_OUH9hN2W9D7hzUwgagV5d3pl2D6uSzIbDIkvdBLOXTvFM0-H4ildq3uEwXIqD9N6rBWI8applA?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.youtube.com/watch?v=2a4Uc2To-Ws>" %}

<br>


---

# 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://nexus-functions-creator-and-disc.gitbook.io/nexus-functions-creator-and-discounts/faqs/how-to-hide-cash-on-delivery-cod-when-the-cart-subtotal-is-greater-than-100.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.
