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

Okay
  Public Ticket #3715208
Price On Order Admin page
Open

Comments

  •  1
    Marian started the conversation

    Hello.

    Is there a possibility that in the Order Admin page, when an order is received with a bundle, only its components appear and the prices depend on the selling price of the bundle?

  •  1,281
    Dustin replied

    Hi Marian,

    We provide premium support exclusively for users who have purchased the premium plugin. Please provide your license key or email so I can verify your purchase.

    -----

    Regarding this issue, we always keep the main bundle and bundled sub-products on admin orders. This is better for management and accounting.

    If you want to hide the main bundle, please add the custom code below. (How to add custom code? ↗):

    add_filter( 'woocommerce_order_get_items', function ( $items ) {
        foreach ( $items as $key => $item ) {
            if ( $item->meta_exists( '_woosb_ids' ) || $item->meta_exists( 'woosb_ids' ) ) {
                unset( $items[ $key ] );
            }
        }
        return $items;
    } );

    Remember to set the bundle's pricing as auto-price and use the percentage discount when needed. The prices will be shown correctly in the admin order details.

    Best regards,
    Dustin

  •  1
    Marian replied

    You are the best. Work.


    Tks a lot