• Hello
    A dropdown option is possible to be able to view the products inside the bundle. Type on the cart page if you want to see what the budle contains to have a button or something like that you click and a dropdown method to appear. May? would be very very useful

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi,

    Currently, we only have the option to show the full products list or product names under the bundle https://www.screencast.com/t/9KRZulBfyk

    But you can modify it by adding CSS & JS code, e.g (How to add custom code?):

    add_action( 'wp_footer', 'woosb_footer_js_for_cart' );
    function woosb_footer_js_for_cart() {
    	if ( ! is_cart() ) {
    		return;
    	}
    	?>
        <style type="text/css">
            .woosb-cart-child {
                display: none;
            }
    
            .woosb-cart-parent .product-name:after {
                content: '↓';
                display: inline-block;
                cursor: pointer;
            }
        </style>
        <script type="text/javascript">
          jQuery(document).on('click touch', '.woosb-cart-parent', function() {
            jQuery(this).next('.woosb-cart-child').show();
          });
        </script>
    	<?php
    }

    And the result (screen record video): https://www.screencast.com/t/EpXSS7Jcz

    Thread Starter emanuel17

    (@emanuel17)

    Thank you very much. I would have a new question. In the back when I go to manage an order with a bundle product … if that boundel can be removed automatically by 0.00 .. not to have to remove it automatically .. can something be done about it?

    Thread Starter emanuel17

    (@emanuel17)

    it works partially .. it doesn’t show me everything that the bundle contains …

    Plugin Author WPClever

    (@wpclever)

    Sorry, I don’t clear about your question “if that boundel can be removed automatically by 0.00 .. not to have to remove it automatically .. can something be done about it?”

    Could you please explain more about it with some screenshots?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘bundle dropdown option in cart’ is closed to new replies.