The PHP Condition lets you write your own PHP code to determine when the popup will appear to your users. Simply return true or false to tell whether the condition is valid or not and thus showing or hiding the popup respectively.
Options
In the table below you can see which options are available to setup the PHP Condition.
Name | Description |
---|---|
PHP Code | Enter the PHP code to define whether the popup should run or not. The PHP code must return either true or false. |
Use Case
The PHP Condition is rather useful when you have custom needs and need the popup to appear in special scenarios. Such scenarios would be when a visitor has added a product to their cart but have not finished their checkout, or when you display special announcements across your site, such as product releases.