1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Hide all field prices in the cart
  1. Home
  2. Knowledge Base
  3. Cart
  4. Hide all field prices in the cart
  1. Home
  2. Knowledge Base
  3. Pricing
  4. Hide all field prices in the cart
  1. Home
  2. Knowledge Base
  3. Front End
  4. Hide all field prices in the cart
  1. Home
  2. Knowledge Base
  3. Advanced
  4. Hide all field prices in the cart

Hide all field prices in the cart

If you don’t want to display the prices of selected fields in the cart, use this filter:

<?php
/**
* Hide all field prices in the cart
*/
add_filter( 'pewc_show_field_prices_in_cart', '__return_false' );

Check this article for how to add this snippet to your site.

Was this article helpful?

Need More Support?

If you can't find the answer that you're looking for, then please use the link below to raise a support ticket.
Contact Support

Related Articles