Notifications

104 views

Symptoms


In two step check out process clicking on the describe needs button from preview order page does not retain selected values.

Release


Kingston patch 6

Cause


Variables in question: 
1. std_laptop & std_desktop > from Varaible set: Order Branch Personna options 

Found catalog client script: set Type of Computer options(role):

else if (role == 'bom'){ 
g_form.setDisplay('comp_start','true'); 
g_form.setDisplay('std_desktop',false); 
g_form.setValue('std_desktop','false'); ****** 
g_form.setDisplay('std_laptop',true); 
g_form.setReadonly('std_laptop',false); 
g_form.setValue('std_laptop','false'); ****** 
g_form.setDisplay('surface_pro',true); 

Whenever the variable "Please Select Associate Role" value changes, 
#1 Desktop w/power - standard & Laptop w/power - standard will be set to **false** 
#2 Container: "Select PC Bundle based on role" will show 

Now we need to figure out why OnLoad, the container named: Select PC Bundle based on role is hidden, because of this, all the variables included in the container will be hidden too. 

This is because of this catalog client script: remove existing from request type:

in Line 25: 
g_form.setDisplay('comp_start',false); 

which explains why when you go back to "Describe Needs" tab, " Select PC Bundle based on role" is hidden. 

Resolution


Because this is a customization, the script would have to be edited to take this behavior into consideration

Article Information

Last Updated:2018-10-15 06:34:19
Published:2018-10-15