• Resolved daneloctober

    (@daneloctober)


    Hi!

    Awesome plugin! Has exactly what we need. However, I discovered that enabling the booking function for a product disables the quantity selector for that product. I’m not sure why the creators assumed that booked products are not ordered in quantities other than 1. I think they should make it an option, not set in stone as it is now (or maybe it’s an option I haven’t seen? If so, please enlighten me).

    Anyway, I’ve found a work-around which involves commenting out this code:
    add_filter( 'woocommerce_is_sold_individually', array( $this, 'sold_individually' ), PHP_INT_MAX, 2 );

    It’s in the \woocommerce-jetpack\woocommerce-jetpack\includes\class-wcj-product-bookings.php file.

    But as you know, that’s not a very elegant solution. I guess I could try remove_filter in functions.php, but I’m not sure what to replace $this with in the code.

    Can anyone help?

    https://wordpress.org/plugins/woocommerce-jetpack/

Viewing 1 replies (of 1 total)
  • Hi,

    Thanks for your input. I’ve added new “Hide Quantity Selector” option to Bookings module (as usual in “WooCommerce > Settings > Booster > Products > Bookings”). You can uncheck it, so quantity selector will remain. Please download the development version here – http://booster.io/dev/. You will need to uninstall the old version first (don’t worry your saved settings won’t disappear).

    Please let me know if you have any more ideas/requests/bugs regarding the plugin. And if you have a spare minute – it would help greatly, if you could add a review on https://wordpress.org/support/view/plugin-reviews/woocommerce-jetpack, of course it would be ok if you won’t.

    Best regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘Booking Function Disables Quantity Selector’ is closed to new replies.