StockUnlocks – Mobile and Cell Phone Unlocking


Mobile and cell phone unlocking: Automate your mobile unlocking store with the StockUnlocks plugin combined with WooCommerce.

StockUnlocks is designed to transform your website into a remote, mobile unlocking machine.

The power and automation of the Dhru Fusion API makes it all possible. Connect to one or many Dhru Fusion mobile unlocking servers and forget about spreadsheets and manual email processing.

Now, focus your time and energy where they’re needed the most.

Some of the outstanding features include:

  • Access to numerous mobile unlocking services from multiple Dhru Fusion unlocking providers.
  • Importing unlocking services directly into your own website.
  • Automatic price updating when your supplier’s prices change.
  • Automated processing of unlocking requests.
  • Customizing automated email responses to your customers.
  • NOTE: The WooCommerce plugin is required in order to use this plugin. If you don’t have it, you may download it here:
    WooCommerce plugin for WordPress

Sign up for website access at to join the community and to take advantage of our forums and issue tracking.

Learn how to use this plugin!

Check out the Tutorials on our channel to learn more about using the StockUnlocks plugin for WordPress. Head over to to learn more!


  • Providers page
  • Edit Provider page
  • Import Services page
  • Plugin Options page 1
  • Plugin Options page 2
  • Plugin Dashboard


  1. Upload the unzipped folder ‘stockunlocks’ and its contents to the ‘/wp-content/plugins/’ directory
  2. Unzip the plugin file
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Create an account at the StockUnlocks Reseller Website in order to fully test your installation
  5. Use the ‘Plugin Options’ in the ‘StockUnlocks’ plugin menu to update all settings to reflect your website name and contact email address
  6. Use the ‘Providers’ in the ‘StockUnlocks’ plugin menu to create a new Unlocking Service Provider. This can be for your current provider or the information you received after step 4 was completed
  7. Use the ‘Import Services’ in the ‘StockUnlocks’ plugin menu to import unlocking services (Products) from your selected Provider
  8. Use the ‘Products’ WooCommerce plugin menu to locate the recently imported Product(s). They will have the status ‘Imported’
  9. Edit the imported Product to your liking (especially ‘Regular Price’ found under ‘Product Data > General’).
  10. Tip: If you’re using the ‘TEST – Available’ or ‘TEST – Unavailable’, set your ‘Regular Price’ to 0.0 to speed up the testing from your website.
  11. Change the Product status by clickng ‘Publish’. NOTE: Products with status ‘Imported’ will not work with this plugin until changed to ‘Publish’
  12. Use the ‘Plugin Options’ in the ‘StockUnlocks’ plugin menu to enable and set the cron schedule
  13. Navigate to yourwebsite-dotcom/shop and select one of the recently imported test services and place an order
  14. Examine the automatic notifications for accuracy. Make needed changes via step 5 above
  15. Installation Video
  16. Plugin Home Page
  17. Happy unlocking!


Why can’t I import Services – not even just one?

When a large number of services appear in your browser and no matter how many you select to import, you might see this message:

No services were imported or updated. Please select fewer services or modify memory settings in wp-config.php or php.ini

When the plugin sees large amounts of data from your Dhru Fusion supplier, this error appears because of your memory configuration.
If you can modify the memory settings in your wp-config.php and php.ini file, that should resolve it.

Here’s what I have in my php.ini:

  • max_execution_time = 300 ; Maximum execution time of each script, in seconds
  • max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
  • memory_limit = 512M ; Maximum amount of memory a script may consume

Here are the settings in the wp-config.php:

  • define( 'WP_MEMORY_LIMIT', '256M' );
  • define( 'WP_MAX_MEMORY_LIMIT', '256M' );

These are the ‘default’ settings in my installation. So far, it’s worked for importing more than 200 services at one time. You may need to tweak these settings according to your needs.

Hey!! I’m using the Advanced Custom Fields plugin – where did the menu go??

StockUnlocks relies on the Advanced Custom Fields plugin as well. ACF is already bundled with StockUnlocks, since there is a provision for doing so.
Elliot Condon, the creator of ACF, allows distributing ACF in a plugin or theme as outlined here: Distributing ACF.

  • The StockUnlocks plugin disables the ACF menu setting by doing this:

if( !defined('ACF_LITE') ) define('ACF_LITE',true);

  • This line may be commented out if you need to access the ACF menu. However, future StockUnlocks plugin updates might uncomment it; thus, hiding the ACF menu again.


Read all 1 review

Contributors & Developers

“StockUnlocks – Mobile and Cell Phone Unlocking” is open source software. The following people have contributed to this plugin.





  • Dev: Preliminary language translation capabilities: Swedish (sv_SE)


  • Fix: Removed html formatting from API error replies: No longer distorting the WC Edit order display
  • Dev: Customers can now view their unlock codes and unlock status when logged in under ‘My account’
  • Dev: New Shortcode to add the Delivery time, example: [suwp_delivery_time product_id = 232]
  • Improvement: Deleting the StockUnlocks plugin does not delete all Products in the ‘Remote Service’ Category. The Category is removed from the Product and the status is changed to ‘Pending’.


  • Fix: Import Services no longer limits certain users to importing less than the selected services in the browser
  • Fix: When order errors occur and the order is set back to Processing, formerly submitted AND successfully replied IMEI DO NOT get resubmitted
  • Fix: Order status and updating is now accurate allowing proper notices to be sent to customers
  • Dev/Change: Deletion of the StockUnlocks plugin now properly removes everything specific to it from your website, leaving no trace behind
  • Mood: Great appreciation for your patience 😉


  • Fix: New installations of the plugin are no longer stuck with ERROR on the Plugin Options page
  • Fix: Auto price update no longer silently crashes when attempting to update prices on a Product that is not in the “Remote service” category
  • Fix: StockUnlocks related messages now only appear within the context of the plugin
  • Fix: Plugin status now immediately updates when options are saved
  • Fix: Email notifications now include detailed Phone information based on selected requirements
  • Change: Products are no longer forced to be assigned to a specific Provider (for future functionality)
  • Dev/Change: Pro users can now enable: MEP, Country/Network, Brand/Model and Automatic, synchronized price adjustments for Products


  • Dev – Plugin Options tab: Added the License email/key combination fields for StockUnlocks Pro access.
  • NOTE – If you have not purchased a StockUnlocks Pro license, please do not change the default values appearing in these fields.


  • Fix – Scheduled cron job no longer crashes due to attempt to process Product’s orders that were not Remote Service.
  • … Now it just skips over them and keeps on truckin’ …
  • Fix – Provider custom post type no longer has a post_title = Auto Draft. The postmeta value for suwp_sitename is properly transferred.


  • Fix – WooCommerce > Orders: fixes a problem where Remote Service category orders were not showing up in the view


  • Fix – Providers: fixes a problem where providers were not showing up in the dashboard
  • NOTE – After this upgrade, simply Deactivate and then Activate the StockUnlocks plugin


  • Dev – Providers tab: Added the ‘USER NAME’ column and now can be sorted by title
  • Dev – Cron jobs: Added a 2 minute setting
  • Dev – Code refactoring


  • Fix – Shopping Cart: Now displaying total number of IMEI for a single order in the Quantity column
  • Fix – Shopping Cart: Item totals for non-StockUnlocks products can now be adjusted
  • Fix – Shopping Cart: Fixed a problem where non-StockUnlocks products totals were reset to 1 when adding to the cart


  • Fix – Plugin Options: ALL email templates can now be formatted in FULL HTML


  • Fix – When using PHP 7.1 no longer crashing when Plugin Options is selected
  • Dev – Now using upgraded version of Advanced Custom Fields plugin


  • Fix – Now updating displayed value for Product Service credit when remote value changes
  • Fix – Order details display formatting now works for WC 3.x and earlier versions
  • Dev – Added support for WC Sequential Order Numbers


  • Importing Services can now be done while running WP from a sub-directory
  • Automatic price updating – you asked for it, you got it 😉

  • Fixed formatting and display issues related to themes built on bootstrap

  • Troubleshooting Option now properly retrieves the indicated number of services when enabled
  • Order Status options were changed to a more appropriate wording to include different kinds of orders
  • Activated sending the automated email to Admin when checking an order completely fails

  • Import Services adjusted to reduce potential memory errors


  • Modifications to allow full processing of a shopping cart with products from different providers
  • New Troubleshooting Option to limit the number of Services when importing
  • Updates ‘Thank you for your order’ email by changing labels: ‘suwp_imei_values’ to ‘IMEI’ and ‘suwp_email_response’ to ‘Email’
  • Moved Product detail labels to appear above their respective fields/selection boxes


  • Combined Email Templates with the Plugin Options tab


  • Imported Products are now linked to the proper post_author id
  • Added a unique id for future technical support
  • Additional automated email notifications for admin users
  • Bug fixes


  • Including the Advanced Custom Fields plugin
  • Defaulting ‘Serial length’ to ’15’ when importing services for convenience


  • Initial release of plugin