Title: custom/variable products
Last modified: March 30, 2019

---

# custom/variable products

 *  Resolved [Kachinga](https://wordpress.org/support/users/kachman/)
 * (@kachman)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/custom-variable-products/)
 * hi, is it possible to turn an imported service into a variable product? for example
   There is a service which I can unlock myself depending on the firmware installed
   on the device.
 * if firmware is old, I can unlock the phone myself, and if the firmware is updated
   i have to order a code from the supplier. I intend to put 2 variations on the
   page, so that if the buyer selects the first option, Then i unlock the phone 
   myself and if he selects the 2nd option the order goes to the supplier.
    -  This topic was modified 7 years, 2 months ago by [Kachinga](https://wordpress.org/support/users/kachman/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [StockUnlocks](https://wordpress.org/support/users/stockunlocks/)
 * (@stockunlocks)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/custom-variable-products/#post-11381367)
 * Hello,
 * What you are describing can be accomplished. However, it involves the following(
   detailed) steps:
 * 1. Import the firmware specific unlocking service from your supplier. This allows
   the Product to maintain a proper API connection for automated processing, if 
   necessary.
 * 2. Temporarily set the newly imported product to a “Stand-alone Unlock Product”.
   Please see this post about where that setting is found: **[How to Create a Stand-alone Unlock Product](https://www.stockunlocks.com/how-to-create-a-stand-alone-unlock-product/)**.
 * > **NOTE**: You’re not creating a Stand-alone Unlock Product. You’re simply temporarily
   > changing an existing Product from an Assigned Provider to “Stand-alone Unlock”
   > under the “API provider” selection.
 * 3. Follow the instructions you’ve researched for adding custom variations to 
   that product.
 * 4. Once an order is placed, examine it for the specific firmware selected.
 * Based on what you know about the firmware selected, you will have to follow either
   the steps under **A** _OR_ **B** below:
 * **A. You will unlock it**.
 * > Continue to process the order as a Stand-alone Unlock as described in the post
   > above (please read it carefully).
 * **B. Your Supplier will unlock it**.
 * 1. On the Product, change the “API provider” back to the original Supplier.
 * 2. Find the specific customer’s **WooCommerce order** and change its order status
   to “**Processing**“. This allows the StockUnlocks plugin to automatically submit
   the order to the Supplier for processing.
 * 3. **IMPORTANT**: Once you receive notification that the order was successfully
   placed with your Supplier, change the Product back to “Stand-alone Unlock” under
   the “API provider” selection.
 * That should do it.
 * The only potential problem you might have is that a new customer may purchase
   this Product while it is set to automatically send processing to your Supplier.
   You may have to deal with that using the information found in this post:
 * [How to Resubmit a Dhru Fusion Order [processing error]](https://www.stockunlocks.com/resubmit-dhru-fusion-order-processing-error/)
 * The StockUnlocks plugin’s logic for automated processing is quite involved. Re-
   writing it to react based on custom fields (variations) is not really practical.
 * The introduction of the “Stand-alone Unlock” was done to cover exactly what you
   are requesting here.
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#do-not-spam)]_
    -  This reply was modified 7 years, 1 month ago by [StockUnlocks](https://wordpress.org/support/users/stockunlocks/).
    -  This reply was modified 6 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

The topic ‘custom/variable products’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stockunlocks_7a98b6.svg)
 * [StockUnlocks - Mobile and Cell Phone Unlocking](https://wordpress.org/plugins/stockunlocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stockunlocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stockunlocks/)
 * [Active Topics](https://wordpress.org/support/plugin/stockunlocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stockunlocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stockunlocks/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [StockUnlocks](https://wordpress.org/support/users/stockunlocks/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/custom-variable-products/#post-11381367)
 * Status: resolved