# Hide checkout notice payment method

When you disable 'Checkout in different currency', the order will be placed in your store's default currency.&#x20;

At the checkout page, if you choose currency different from the default, you will see a notice like this:

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

If you don't want to show this notice at checkout, you can hide them using custom coding.

To hide this notice, you can add the following code to [Code Snippets](https://wordpress.org/plugins/code-snippets/) or to the file `functions.php` of your store theme.&#x20;

{% hint style="info" %}
It is recommended to add it to`functions.php` of child theme so that it will be preserved when you update the theme.
{% endhint %}

```
add_filter('yay_currency_checkout_notice_payment_methods', 'yay_currency_checkout_notice_payment_methods', 10, 2);
function yay_currency_checkout_notice_payment_methods( $show, $apply_currency ) {
    return false;
}
```

Once added, you will see it disappear at the checkout.

<figure><img src="/files/5eMUbwciDde3rbRbs9si" alt=""><figcaption></figcaption></figure>


---

# 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.yaycommerce.com/yaycurrency/configurations/checkout-options/hide-checkout-notice-payment-method.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.
