soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

Enable AJAX condition #1055

Open wpsumo opened 4 years ago

wpsumo commented 4 years ago

Describe the feature you'd like to see included in Oxygen. Add a feature to enable ajax mode for conditions.

What are the use cases for this feature? If we want to display something dynamically based on users GEO location or returning visitor, language, etc without interfering with server and page cache.

IP and Country detection is not reliable when there is caching (especially at server level) involved. Most oxygen users do use but then the conditions are limited due to cache as conditions in oxygen are only supporting php. With an ajax enable function for each condition, it would be possible to create more dynamic experiences.

Examples of this feature or functionality. https://wordpress.org/plugins/if-so/ (https://www.if-so.com/) https://wordpress.org/plugins/geotargeting/

Related tickets: https://github.com/soflyy/oxygen-bugs-and-features/issues/569

wpsumo commented 3 years ago

Please consider this so we can use the conditions with more flexibility.