Title: Free Items
Last modified: August 24, 2016

---

# Free Items

 *  Resolved [Teksun](https://wordpress.org/support/users/teksun/)
 * (@teksun)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/free-items/)
 * Some of my items are free and some are not. How can I set the catalog to show“
   Free” instead of being blank if there is no price.
 * [https://wordpress.org/plugins/ecommerce-product-catalog/](https://wordpress.org/plugins/ecommerce-product-catalog/)

Viewing 1 replies (of 1 total)

 *  [abonnefoy](https://wordpress.org/support/users/abonnefoy/)
 * (@abonnefoy)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/free-items/#post-6137472)
 * Hello,
 * There is a workaround for this
    you can use a custom function (I personally located
   it in function.php of my theme).
 * For you, it could be something like that
 *     ```
       function custom_ecommerce_price($formatted, $raw_price = '') {
           if ($formatted == '$0,00') {
               return "free";
           } else {
               return $formatted;
           }
       }
   
       add_filter('price_format', 'custom_ecommerce_price');
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Free Items’ is closed to new replies.

 * ![](https://ps.w.org/ecommerce-product-catalog/assets/icon-128x128.png?rev=1103243)
 * [eCommerce Product Catalog Plugin for WordPress](https://wordpress.org/plugins/ecommerce-product-catalog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecommerce-product-catalog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecommerce-product-catalog/)
 * [Active Topics](https://wordpress.org/support/plugin/ecommerce-product-catalog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecommerce-product-catalog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecommerce-product-catalog/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [abonnefoy](https://wordpress.org/support/users/abonnefoy/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/free-items/#post-6137472)
 * Status: resolved