• Resolved mouniche17

    (@mouniche17)


    Hi,
    First, thank you for this plugin !

    I use woocommerce product bundles and your plugin, and i need to display only the bundled items on the packing slip, not the “bundle title”. How do i remove the line with bundle title ?

    Thank you !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! For Product Bundles (assuming you’re using the woocommerce.com extension), the plugin adds one of two classes:

    • product-bundle – for the main bundle product
    • bundled-item – for the bundled items

    You can use these classes to hide the main product with custom CSS:

    
    .product-bundle { display: none; }
    

    More about custom CSS can be found in our documentation: Using custom styles
    You may also want to remove the padding added to the product name that would normally group the bundled products:

    
    .order-details tr.bundled-item td.product {
    	padding-left: 0.375em;
    }
    
    .order-details tr.product-bundle td,
    .order-details tr.bundled-item td {
    	border-bottom: 1px #ccc solid;
    	border-top: 1px #ccc solid;
    }
    

    Hope that helps!
    Ewout

    Thread Starter mouniche17

    (@mouniche17)

    Thank you for you fast anwser !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display bundled items only’ is closed to new replies.