Disable Certain Products in child bundles from being reviewed
-
Is there a way to disable certain child products from being reviewed on a bundle?
example review everything but 588546 & 195293.
Seems people are reviewing items that are hidden from the public, with unchecked review, instead of reviewing the parent product.
Looking at past post similar this snippet should work, but its not (which just suppose to show parent items only).
——-add_filter( 'cr_skip_reminder_generic', 'cr_skip_reminder_generic_function', 10, 2 ); function cr_skip_reminder_generic_function( $skip, $order_id ) { $parent_order_id = wp_get_post_parent_id( $order_id ); if ( 0 != $parent_order_id ) { $skip = true; } return $skip; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable Certain Products in child bundles from being reviewed’ is closed to new replies.