Tassos Docs
EngageBox
v6.3.7
- Getting Started
- Triggers
-
Display Conditions
- E-Commerce Conditions (VirtueMart - HikaShop)
- Homepage
- New/Returning Visitor
- K2 - Page Type
- K2 - Tag
- K2 - Category
- K2 - Item
- PHP
- Region
- City
- User Access Level
- Joomla! Content Component View
- Month
- Day of Week
- Cookie
- IP Address
- Referrer URL
- AcyMailing List
- Convert Forms Conditions
- Language
- Component
- Joomla! Content Category
- Joomla! Content Article
- Continent
- Country
- Operating System
- Browser
- Device
- Time on Site
- EngageBox - Viewed Another Popup
- Pageviews
- User
- User Group
- Time
- Date
- URL
- Menu
- Display Conditions
- Trigger based on URL match
- Campaign Types
- Styling and Customization
- Integrations
- Advanced Features
-
Functionality
- Αdd Sound Effects to Your Popups
- Make Accessible Popups
- Add a Countdown timer in your popup
- Limit impressions per unique visitor
- Test the responsiveness of your boxes for various devices and viewports
- Open a box by clicking on a menu item
- Trigger based on the minimum time visitor spent on the site
- Auto-close after a specific amount of time
- Open a box using HTML Attributes
- Solutions
- Developers
PHP Condition
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.
Last updated on Nov 26th 2024 12:11