Lock Downloads to IP for woocommerce lets you lock the downloads of your digital products only by the customer IP.Useful for also those shop owners who sell digital products and want to restrict unauthorised downloads of their products
How to Install
- Download and unzip the plugin
- Upload the entire wpp-lock-download-top-ip/ directory to the /wp-content/plugins/ directory
- Activate the plugin through the Plugins menu in WordPress
- Go to Woocommerce > Settings > General Settings in Admin panel
- Save the info it and check in frontend !
How it Works
Admin have two options in backend to restrict the download of products.
Either by User IP or by the IP Range.
Lock by User IP : If lock is set on the User IP then customer can only download the digital product if the current IP of the user matches with the IP saved with order meta on checkout.
Lock by IP Range: If lock is set to IP Range then customer can only download the digital product if the current IP lies in between the range admin has set in the plugin backend.
Settings
Plugin Settings
Lock Downloads by IP : Enable/Disable the lock
Download Permission: User IP or IP Range
IP Range: If IP range is selected above then input the IP Range in this box
Error Message: Text to show on error page.
How to override lock for a user
Go to Users
Open user profile and check Bypass Ip Lock checkbox.