{ id : "ProductTour", steps : [ #IF( #PAGETYPE.Alias EQ "UnityMBO-Products") { title : "{YourProducts[js]}", content : "{AddProduct_Content[js]}", target : ".ep-contentBox-check.add-button", placement : "bottom", yOffset : 8, multipage : true, nextOnTargetClick : true, task : { taskFunction : "clickOnTarget", mandatory : true } }, #ELSE /*setting up two dummy steps to match the amount of steps from the MBO-Products Page*/ { target : null, }, #ENDIF #IF( #PAGETYPE.Alias EQ "UnityMBO-ProductNew") { title : "{ProductName[js]}", content : "{ProductName_Content[js]}", target : "#NameNative", placement : "bottom", arrowOffset : "center", showPrevButton: false, yOffset : 8, task : { taskFunction : "validateInputOnTarget", target : "input#NameNative", mandatory : false }, onNext: function() { ep('#SaveButton').attr('disabled', true); } }, { title : "{ProductVisibility[js]}", content : "{ProductVisibility_Content[js]}", target : "div.col-xs-3:has(#IsVisible0)", placement : "right", yOffset : -12.5, task : { taskFunction : "clickOnTarget", target : "#IsVisible0", mandatory : false }, onNext: function() { ep('#SaveButton').attr('disabled', true); } }, { title : "{ProductDescription[js]}", content : "{ProductDescription_Content[js]}", target : "div.ep-wysiwyg-wrapper", placement : "bottom", yOffset : 8, arrowOffset : "center", task : { taskFunction : "validateInputOnTarget", target : "div#uieditor_DescriptionTranslation", mandatory : false }, onNext: function() { ep('#SaveButton').attr('disabled', true); } }, { title : "{UploadImage[js]}", content : "{UploadImage_Content[js]}", target : ".ep-dndupload-element", placement : "left", arrowOffset : "center", highlight : false, task : { taskFunction : "testDnDUploader", mandatory : false, target : "input.ep-dropzone-fileinput" }, onNext: function() { ep('#SaveButton').attr('disabled', true); } }, { title : "{ProductPrice[js]}", content : "{ProductPrice_Content[js]}", target : "div.col-xs-6:has(input.Price)", placement : "top", yOffset : -8, arrowOffset : "center", task : { taskFunction : "validateInputOnTarget", target : "input.Price", mandatory : false }, onNext: function() { ep('#SaveButton').attr('disabled', true); } }, { title : "{Categories[js]}", content : "{Categories_Content[js]}", target : "div.col-xs-12:has(div.col-xs-12:has(input#Category))", placement : "top", yOffset : -8, xOffset : 30, highlight : false, task : { taskFunction : "clickOnTarget", target : "input#Category ~ button.ep-tray", mandatory : false }, onNext: function() { ep('#SaveButton').attr('disabled', false); } }, { title : "{SaveChanges[js]}", content : "{SaveChanges_Content[js]}", target : "#SaveButton", placement : "top", yOffset : -8, multipage : true, nextOnTargetClick : true, noScroll : true, task : { taskFunction : "clickOnTarget", target : "#SaveButton", mandatory : true }, onPrev: function() { ep('#SaveButton').attr('disabled', true); } }, #ELSE { target : null, }, { target : null, }, { target : null, }, { target : null, }, { target : null, }, { target : null, }, { target : null, }, #ENDIF { title : "{ViewStorefront[js]}", content : "{ViewStorefront_Content[js]}", target : ".unity-storefront-link", placement : "bottom", xOffset : "center", arrowOffset : "center", nextOnTargetClick : true, noScroll : true, task : { taskFunction : "clickOnTarget", mandatory : false } } ] }, tourSettings : { highlightMargin: 0 } /* Those language tags are required in for the Tour Start Dialog in GuidedTours "TourExplanation": "{TourExplanation}" "WelcomeMessage": "{WelcomeMessage}"" */