Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › composite products count › Reply To: composite products count
December 15, 2022 at 8:21 pm #19452
almostretired
Participant
Sorry for the delay on this. Thanks so much for working this out. We did change one line of the code for our purposes.
if ( array_key_exists( ‘composite_parent’, $item->object ) ) {
I don’t think our client will ever make a sale on quantities that includes the components, so this version should be easier than checking for specific codes.
This works! Thanks again for all of your help!