Support
Login
Your Password

Sales
North America
Phone: +1 (905)-655-9262
Fax: +1 (905)-655-9395
Email: info@add-on.com

Europe
Phone: +45 7944 7000
Fax: +45 7944 7001

China
Phone: +86 (21) 2221 8396
Email: info-china@add-on.com
Support
Denmark
+45 7944 7002

Europe
+44 (0) 203 002 3889

North America
+1 (202)-536-4165
Knowledgebase: Resource Central
KB0046 - How to change the initial number of services in Order Form

 

Summary

When you open the order form, a default number of services might appear without having to select number of services.

This can be configured to serve your need for convenience.

 

Resolution

The default number of services can be configured by making some modification in the OneStopOrderForm.aspx file.

By default, it is located in this path: C:\inetpub\wwwroot\ResourceCentral\Admin.

Open the file by Notepad, look for the following code block:

<script type="text/javascript">

    //ANHNN Change request 15174

    $(window).load(function () {

        // full load

        setNoOfServings(1);

        var flag = false;

         <% if (!resourceServingsInClassicFormat) { %>

          flag = true;         

        <% } %>

        generateOrderHtml(1, flag);

    });

    //end 15174

</script>

In the above illustration, the number “1” is highlighted. This is the default number of services in Order Form. You can change this to any number as you wish.

For example, if you change this to “2”, then there will be 2 services by default in the Order Form when you open it:

Properties

Applies to: RC 3.0, 3.6

Reference: TFS #6308

Knowledge base ID: 0046

Last updated: Feb 23, 2016