Allow to use both AND-OR conditionals in product dependencies level
-
Hi ,
I want to use logic operators AND and OR on product dependencies level. I found that I can force to use AND operator with the following snippet:
add_filter( ‘wc_pd_dependency_relationship’, ‘sw_pd_dependency_relationship’ );function sw_pd_dependency_relationship( $product ) {
return ‘and’;
}but I need it to work with both logical conditions, is there any way to do that?
I’ll appreciate your help .
ThanksHugo
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Allow to use both AND-OR conditionals in product dependencies level’ is closed to new replies.