Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3078961
Hiding the title of the product bundle
Open

Comments

  • Batuhan started the conversation

    We have problem hiding the title of our product bundle during preperation of the invoice. The program sees the title as well as a product. How can we prevent it. Thank you.

  •  767
    Janilyn replied

    Hi Batuhan,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  153
    Henry replied

    Hi Batuhan.

    I’m sorry for the late reply. We’re receiving too many requests at the moment so it’s a bit overloaded for us.

    Can you send the invoice as a photo? In that picture, you mark the parts you need to remove.

    Best regards,
    Henry N.

  • Batuhan replied

    Due to appearance of the bundle name without having a cost we have difficulty creating invoice. We do not want it to appear every time in the invoice. I circled it at the screenshot.

  •  153
    Henry replied

    Hi

    Please add the below custom code (How to add custom code?)

    // Wpclever Team support ticket-3078961
    // hiding the title of the product bundle
    add_filter('woocommerce_order_item_name', function($item_name, $item){
        
        // Hide name of main Product Bundles
        if ( $item->meta_exists( '_woosb_ids' ) ) {
            return '';
        }
        return $item_name;
    }, 99, 2);


    Best regards,
    Henry N.

  • Vladimir replied

    Hi Henry, I have a pre-sale question. It's possible to Hide the Main Bundle Product in Shopping Cart? Like Composite. When the order is processed the invoice has the "main bundle product" like other products included the price.


    Attached files:  Hide main Bundle product.png