Add the following lines in customFieldsController.js which is under the custom folder – custom/cart/scripts/customFieldsController.js.
Add this below the comment that says “Modify the following part for customization”.
Just refresh the browser to see this change.
var decommDate = new Date();
decommDate.setDate(decommDate.getDate() + 30);
$scope.customFieldsNameValueMap.decommissionDate = decommDate;
I tried the solution but somehow it did not work for me.
Is there additional steps we need to perform.?
It works perfectly for me.
Thanks a lot.
1 of 1 people found this helpful
It worked ,After making changes in config.properties file.