1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Hide parent product line item in cart
  1. Home
  2. Knowledge Base
  3. Products Fields
  4. Hide parent product line item in cart

Hide parent product line item in cart

If you are using the Products field type to create composite or bundled products, you might not want the main (parent) product to appear as a line item in the cart.

To hide the parent product in the cart, just use the following CSS:

.pewc-parent-product {
display: none;
}

Here’s how to add CSS.

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