Booking Function Disables Quantity Selector
-
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?
- The topic ‘Booking Function Disables Quantity Selector’ is closed to new replies.