1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Product Page
  5. Pricing
  6. Filter prices for add-ons in the cart
  1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Cart
  5. Filter prices for add-ons in the cart
  1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Filter prices for add-ons in the cart
  1. Home
  2. Knowledge Base
  3. Advanced Topics for Add-Ons Ultimate
  4. Filter prices for add-ons in the cart

Filter prices for add-ons in the cart

If you just want to add the prices for extra items in the cart, just target the pewc-cart-item-price class in CSS. However, you can also filter the price using:

$price = apply_filters( 'pewc_filter_cart_item_price', $price, $item );

Was this article helpful?

Related Articles