Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Unfortunately it can only condition off of 1 field at this time.Okay, I've had a chance to test the conditional plan, however, it seems I can only get one condition from one field, the membership price is based on 4 radio fields.
Maybe a better way to do this would be to have 1 plan and just modify its price using CBSubs Promotions. A negative promotion can be used to increase the price of a plan.This equates to over 40 separate plans.
$price = 0;
if ( $user->get( 'cb_field1' ) == 'value1' ) {
$price += 20; // add 20 to the price
}
if ( $user->get( 'cb_field2' ) == 'value2' ) {
$price += 5; // add 5 to the price
}
return -$price;
Please Log in to join the conversation.
Please Log in to join the conversation.