• Resolved bullionmart

    (@bullionmart)


    I want to remove the Bundle name that shows CAD 0.00 against this from the emails. Bundled items only should be shown.

    Please help.

    Thanks
    Rachel

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bullionmart

    (@bullionmart)

    Also, the price in USD is same as the price in CAD. However, other simple products are showing CAD to USD conversion and vice versa.

    Plugin Support Emily Wilson

    (@emilywil)

    Hello @bullionmart

    Thank you for choosing our plugin.

    We apologize for the inconvenience.

    You can try to add the below codes to your child theme functions.php file and try it.

    function asnp_wepb_cart_item_visible( $visible, $cart_item ) {
    	if ( AsanaPlugins\WooCommerce\ProductBundles\is_cart_item_bundle( $cart_item ) ) {
    		return false;
    	}
    
    	return $visible;
    }
    add_filter( 'woocommerce_order_item_visible', 'asnp_wepb_cart_item_visible', 10, 2 );
    
    // The below filters hide bundle items inside the cart and checkout so if you don't want them just ignore them.
    add_filter( 'woocommerce_cart_item_visible', 'asnp_wepb_cart_item_visible', 10, 2 );
    add_filter( 'woocommerce_widget_cart_item_visible', 'asnp_wepb_cart_item_visible', 10, 2 );
    add_filter( 'woocommerce_checkout_cart_item_visible', 'asnp_wepb_cart_item_visible', 10, 2 );

    Just please note that the last three filters, hides bundle product in the cart and checkout too. It doesn’t work with cart and checkout blocks.

    In case the above codes doesn’t work for the email, unfortunately there is not any option to hide it.

    The plugin is not compatible with multi currency plugins yet, but we will consider to add a compatiblity in the future versions.

    Please ask your different questions in a new topic instead of asking all of them in one topic.

    I hope it helps.

    Best Regards

    Thread Starter bullionmart

    (@bullionmart)

    Is it possible to remove this from the order details in woocommerce admin and, hence, from the invoice. so far, the code worked perfectly.

    Plugin Support Emily Wilson

    (@emilywil)

    In case the above provided custom code doesn’t work for you, unfortuantely, the plugin doesn’t have such a feature.

    In case you need a custom work, please contact us here.

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove bundle name’ is closed to new replies.