Bug with Composite Products min/max quantity
-
Hello,
There is a mild incompatibility with the official extension Woocommerce Composite Products.
When min or max options are set in a composite component, these values are used to validate the cart (and prevent adding to cart), but they are not reported in the input field like they are usually when Quantity Field on Shop Page isn’t enabled.
This leads to :
- possibility to enter invalid number
- error with no explanation and composite product not added to cart
I think the problem stands in line 58 : there should be a way to determine when it’s normal display and when it’s WCCP display.
Though I’m not sure how WCCP would allow that.
Thanks in advance.
FTR, in DEBUG mode, the error messages are :
Notice: Array to string conversion in .../wp-includes/kses.php on line 1685 Warning: preg_match() expects parameter 2 to be string, array given in .../wp-includes/class-wp-block-parser.php on line 417 Warning: strlen() expects parameter 1 to be string, array given in .../wp-includes/class-wp-block-parser.php on line 489
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bug with Composite Products min/max quantity’ is closed to new replies.