| @@ -48,14 +48,19 @@ | ||
| 48 | 48 | 'utm-term', |
| 49 | 49 | 'referral-source-url', |
| 50 | 50 | 'time-deadline', |
| 51 | 51 | 'billing-city', |
| 52 | + 'billing-city-checkout', | |
| 52 | 53 | 'shipping-city', |
| 54 | + 'shipping-city-checkout', | |
| 53 | 55 | 'visitor-city', |
| 54 | 56 | 'days-of-week', |
| 55 | 57 | 'whitin-date-range', |
| 56 | 58 | 'whitin-time-period', |
| 57 | 59 | 'url-query-string', |
| 60 | + 'login-status', | |
| 61 | + 'cart-item-quantity', | |
| 62 | + 'purchased-product-quantity', | |
| 58 | 63 | ]; |
| 59 | 64 | } |
| 60 | 65 | |
| 61 | 66 | /** |
| @@ -65,8 +70,10 @@ | ||
| 65 | 70 | * @param mixed $value mixed The value of current value. |
| 66 | 71 | * @param mixed $condition_value The value of condition input. |
| 67 | 72 | */ |
| 68 | 73 | public function is_valid( $value, $condition_value ) { |
| 74 | + $value = strtolower( $value ); | |
| 75 | + $condition_value = strtolower( $condition_value ); | |
| 69 | 76 | if ( $value === $condition_value ) { |
| 70 | 77 | return true; |
| 71 | 78 | } |
| 72 | 79 | |