Last Modified October 16, 2024
            
        	
  				- Home
 
                - eCommerce
 
                - Shopify
 
                - License Upgrades
 
			
            
          
            
          
          	
          		Setting up Shopify License Upgrades
                You can configure Shopify for License Upgrades where License parameters of an 
                existing License Activation Code are updated (no License Code is issued). 
                For example, with Feature-Based Licensing, you may want to offer Feature Upgrade 
                products in Shopify (ex: upgrade from Feature Set A to Feature Set B) and have 
                this automatically update the  of the License Activation Code 
                (not issue a new License Activation Code).
                The order page for the License Upgrade product would include a mandatory 
                input field for the License Activation Code to which the upgrade applies. The 
                Buyer would need to enter his existing License Code to be upgraded.
                There is no validation of the existing License Code entered by the Buyer
                before the order is processed. If the License Code is invalid, the Product 
                Contact Person defined in software_DNA will receive a notification that the 
                Upgrade transaction did not complete successfully.
                
                To enable this automated update for “License Upgradesâ€, you will need to:
                
                    - Add a mandatory Properties field in the Shopify configuration for this 
                    Upgrade product. This field will be used to capture the License 
                    Activation Code to which this upgrade applies. The Properties field 
                    will be shown to the Buyer in the Order Page and must be filled in to 
                    complete the order.
 
                    - Add the <Shopify Product ID> of this upgrade product in the software_DNA 
                    Shopify Connector configuration, as explained in the next section.
 
                
                After the configuration steps below, your customers will see an Order Form 
                like this with a field to enter their License Activation Code (titles, 
                descriptions and error message can be customized: 
                
                To add a Properties field in the Shopify Order Page you will need to add 
                the following HTML code "as is" in the product’s Order Page template:
                
                    
                         
                        <div>
                           <label for="license_code">Existing License Code</label>
                           <input required data-error="Please enter a License Code." 
                           type="text" id="license_code" name="properties[License_Code]">
                        </div>
                    
                
                More information is available in the Shopify Help pages on "Getting Customization Information for 
                Products" including the following article:
                   https://help.shopify.com/themes/customization/products/get-customization-information-for-products
                Use the above HTML code snippet instead of the example provided 
                in the Shopify instructions.
                
                    IMPORTANT: THE PROPERTIES "NAME" MUST BE "License_Code" AS SHOWN IN RED 
                    ABOVE FOR THE FIELD TO BE RECOGNIZED BY THE SOFTWARE_DNA CONNECTOR. THE 
                    LABEL TEXT AND THE DATE-ERROR TEXT CAN BE MODIFIED