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

Okay
  Public Ticket #3066298
Change the display of bundled items on the checkout page
Closed

Comments

  •  1
    YOYO started the conversation

    How do I list the bundled items as a list on the checkout page?

  •  767
    Janilyn replied

    Hi Yoyo,

    Thanks for contacting us here.

    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

  •  1,226
    Dustin replied

    Hi Yoyo,

    I'm so sorry for the late reply! I must have overlooked your ticketfrown.png

    To display bundled items as a list, please add the below custom code (How to add custom code?)

    add_filter( 'woosb_order_bundled_product_names', 'your_woosb_order_bundled_product_names', 99, 1 );
    function your_woosb_order_bundled_product_names( $names ) {
        return '<ul>' . str_replace( '; ', '', $names ) . '</ul>';
    }
    add_filter( 'woosb_order_bundled_product_name', 'your_woosb_order_bundled_product_name', 99, 1 );
    function your_woosb_order_bundled_product_name( $name ) {
        return '<li>' . $name . '</li>';
    }

    Best regards,
    Dustin

  •  1
    YOYO replied

    感謝您的幫助。