1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Orders
  5. Hide add-on prices for all fields in the order and order confirmation email
  1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Hide add-on prices for all fields in the order and order confirmation email

Hide add-on prices for all fields in the order and order confirmation email

If you want to hide add-on prices in the order and order confirmation email, use this snippet:

<?php
/**
* Hide add-on prices for all fields in the order and order confirmation email
*/
add_filter( 'pewc_show_field_prices_in_order', '__return_false' );

Here’s how to add a snippet.

Was this article helpful?

Related Articles