Smart VPN Warning for WooCommerce
نمایش هشدار VPN در صفحه پرداخت ووکامرس
by ahmadesmaeeli · github.com/ahmadesmaeeli81/smart-vpn-warning
★ 3stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ahmadesmaeeli81/smart-vpn-warning/archive/refs/heads/main.zipFrom the readme
Smart VPN Warning for WooCommerce
Display a smart warning to users to turn off their VPN during checkout in WooCommerce.
Features
Display a simple and elegant warning on the checkout page
Smart country detection using ipapi.co API (no API key required)
Admin settings panel in WordPress dashboard
Customizable warning message in Persian
Option to show warning to all users or only to users outside Iran
Option to choose between static box or popup warning
Responsive design and mobile-friendly
RTL support for Persian websites
Changelog
1.2
Added popup warning option when clicking on checkout button
Separated CSS and JavaScript code into external files for better performance
Removed dependency on external API keys for better reliability
Added author email contact information
Code optimization and cleanup
Improved overall performance and loading speed
1.1
Improved security with nonce for settings forms
Changed to free API services (ipify.org and ipapi.co) - no API key required
Added option to choose between static box or popup warning
Enhanced error handling and logging
Removed English warning message (Persian only)
Updated document