Support » Plugin: YITH WooCommerce Product Bundles » YITH bundle WooCommerce Question

  • Hello,

    Can we modify the plugin for the order receipt? If so, can you please share the path.

    File path from where they are displaying the product name with order. It’s confusing our customers when it’s displaying 2 line items within the receipt but only 1 product so we are trying to remove the 2nd line item. Here’s a quick video of me showing what I mean: https://milia-marketing.dubb.com/v/KA4kVo

    Site: customerservicerevolution.com

    This is within the customer email receipt.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    and thank you for contacting us!

    If you want to hide bundled items in Cart, you can achieve this goal by adding the following code snippet to Appearance > Customize > Additional CSS

    .yith-wcpb-child-of-bundle-table-item{
        display: none;
    }

    If you want to hide bundled items in emails, you can add the following code snippet to your theme functions.php

    if ( ! function_exists( 'yith_wcpb_customization_hide_bundled_items_in_emails' ) ) {
    	add_filter( 'woocommerce_email_styles', 'yith_wcpb_customization_hide_bundled_items_in_emails', 10, 1 );
    
    	function yith_wcpb_customization_hide_bundled_items_in_emails( $css ) {
    		$css .= '.yith-wcpb-child-of-bundle-table-item{ display: none; }';
    
    		return $css;
    	}
    }

    Please try these solutions and let us know if everything works fine!

    • This reply was modified 9 months, 2 weeks ago by YITHEMES.
Viewing 1 replies (of 1 total)
  • The topic ‘YITH bundle WooCommerce Question’ is closed to new replies.