• Hi!

    Is it possible to display the quantity number and the total price for the bundle with for example PHP?

    For example in the field “Under text” I can put <?php echo wcp_bundle_quantity ?> and <?php echo wcp_bundle_price ?>

    Or if this can be solved through a shortcode?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter zorensen

    (@zorensen)

    To get the price for the bundle, I’m using $bundle->get_price() in class-woosb-php, but I’m looking for a similar way to get the quantity in the bundle… for example $bundle->get_qty() or $bundle->get_quantity(). Can’t find any that works.

    Can you help? This will make this plugin function exactly as we need it, and I will buy the premium version if I can get it to work.

    Thanks!

    antenanet

    (@antenanet)

    You did it?
    I also want to show the number of items in the bundle.
    In addition, I want to allow the customer to remove some item from the package, placing a quantity equal to zero.
    Shall we work on this together?
    Another plugin uses a lot of javascript in the implementation, this one I haven’t seen yet.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display quantity in bundle and price’ is closed to new replies.