---
title: Trim zero from payment price
description: "Add following code in child theme functions.php file to remove 0 for decimal price on checkout page - ``` add_filter( 'rtcl_payment_price_trim_zeros', '__return_true' ); ```"
url: "https://www.radiustheme.com/docs/classified-listing/docs/code-snippets/trim-zero-from-payment-price/"
updated: "2025-02-28"
category: Developer Docs / Code Snippets
---

# Trim zero from payment price

Add following code in child theme functions.php file to remove 0 for decimal price on checkout page -

```
add_filter( 'rtcl_payment_price_trim_zeros', '__return_true' );
```
