1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Filter prices for extras in the cart
  1. Home
  2. Knowledge Base
  3. Cart
  4. Filter prices for extras in the cart
  1. Home
  2. Knowledge Base
  3. Pricing
  4. Filter prices for extras in the cart
  1. Home
  2. Knowledge Base
  3. Advanced
  4. Filter prices for extras in the cart

Filter prices for extras 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?

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