#IF(#IsNewProduct) #SET("ShopHasMultipleLanguages", 0) #ENDIF #LOCAL("IsSubProduct", #DEFINED(#SuperProduct))
#IF(#IsMaster)

{MasterProductTemplateInfo1}

{MasterProductTemplateInfo2}

#REM #ENDREM #ENDIF
#IF(#OBJECT_EXISTS)

{InputError}

{ObjectExists}
#REM #ENDREM #ELSIF(#FormError)

{InputError}

#IF(#COUNT(#FormErrors.Form.Save.Errors)) #LOOP(#FormErrors.Form.Save.Errors) #IF(#Reason EQ "SHORTURL_ALREADY_EXISTS")

{SHORTURL_ALREADY_EXISTS}

#ELSIF(#Reason EQ "INVALID_CHARACTER")

{SHORTURL_INVALID_CHARACTER}

#ELSIF(#Reason EQ "NAME_NOT_VALID")

{ProductNameInvalidCharacter}

#ELSIF(#Reason EQ "UNSUPPORTED_FILETYPE")

{NO_MIME}

#ENDIF #ENDLOOP #IF(#FormErrors.Reason.STRING_TOO_LONG)

{StringTooLong}

#ENDIF #ELSE {PleaseCorrectErrors} #ENDIF
#REM #ENDREM #ENDIF

{General}

#REM #ENDREM
#REM #ENDREM #IF(#IsNewProduct) #ELSE #ENDIF #IF(#IsVariationProduct) #ELSE #ENDIF #IF(#ShopProductsMaxedOut)

{MaxFeatureValueReached}

{FeatureMaxValue}: #Shop.FeatureMaxValue.Products[integer]
#REM #ENDREM #ENDIF #REM #ENDREM #WITH_ERROR(#FormError)
#SNIPPET("INC-I18n-Tooltip", "AttributeName", "Name")
#REM #ENDREM
{BubbleHelpProductVisible}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#SNIPPET("INC-WYSIWYG", "Name,InputName,Value,TranslationHead,Help,Translatable,Bootstrap", "DescriptionTranslation", "Description", #Description, "{Description}", "{BubbleHelpLongDescription}",1,1)
#REM #ENDREM
{FurtherOptions}
#REM #ENDREM
{BubbleHelpKeywords}
{BubbleHelpKeywordsLine2}
#SNIPPET("INC-I18n-Tooltip", "AttributeName", "Keywords")
#REM #ENDREM
#REM #ENDREM #REM #ENDREM

{Price}

#REM #ENDREM
#REM #ENDREM
#LOCAL("Price", #Price) #IF(NOT #IsNewProduct) #SET("Price", #LISTPRICE(#Object, #ShopCurrencyID, #Shop.InputTaxModel, 1)) #ENDIF #ENDLOCAL
#REM #ENDREM
#ShopCurrencySymbol
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #LOCAL("Context", #_) #IF(#IsSubProduct) #SET("Context", #SuperProduct) #ENDIF #WITH(#Context)
#LOCAL("ErrorItemNo", 0) #IF(#DEFINED(#Shop.TaxMethod) AND #GET("System.Child.PageTypes.Child.MBO.Child.DefaultTemplateTypes.Child.INC-".#Shop.TaxMethod.Alias[0]."-TaxClass-Select.ID")) #LOCAL("IncludeTemplate","INC-".#Shop.TaxMethod.Alias[0]."-TaxClass-Select") #INCLUDE(#IncludeTemplate) #ENDLOCAL #ELSE #INCLUDE("INC-TaxClass-Select") #ENDIF #REM #ENDREM #IF(#DeliveryThresholdIsActive AND NOT #IsSubProduct) #LOCAL("ExceptionsCount", #CALCULATE(#COUNT(#TaxClassMappings.preselected) + #COUNT(#TaxClassMappings.optional))) #ENDLOCAL #REM #ENDREM #ENDIF #ENDLOCAL #REM #ENDREM
#REM #ENDREM #ENDWITH #REM #ENDREM #ENDLOCAL #REM #ENDREM
#REM #ENDREM #REM #ENDREM
{FurtherOptions}
#REM #ENDREM
#REM #ENDREM
{ComparisonPriceHint1}
#REM #ENDREM
#REM #ENDREM
#LOCAL("ManufacturerPrice", #ManufacturerPrice) #IF(NOT #IsNewProduct) #SET("ManufacturerPrice", #MANUFACTURERPRICE(#Object, #ShopCurrencyID, #Shop.InputTaxModel,#UNDEF, 1)) #ENDIF #ENDLOCAL
#REM #ENDREM
#ShopCurrencySymbol
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{IsManufacturerPriceRRPTooltip}
#REM #ENDREM
{BubbleHelpReferenceUnit}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#LOCAL("RefUnitID", #FUNCTION("ERROR_VALUE", #RefUnit, #RefUnit.ID)) #ENDLOCAL
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{BubbleHelpUnitsInProduct}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{BubbleHelpIsShippingLinkVisible}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #MENU("Visibility")#INCLUDE(#Template)#ENDMENU #REM #ENDREM

{Shipping}

#REM #ENDREM
#REM #ENDREM
{BubbleHelpDeliveryPeriod}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{DaysFuzzy}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#WITH_LANGUAGE(#Shop.LanguageID) #ENDWITH_LANGUAGE {BubbleHelpExampleWeight}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#LOCAL("WeightUnitID", #FUNCTION("ERROR_VALUE", #WeightUnit, #WeightUnit.ID)) #ENDLOCAL
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #REM #ENDREM
{FurtherOptions}
#REM #ENDREM
#REM #ENDREM
#IF(#Shop.FeatureMaxValue.ShippingMethodsPerProduct)
{ProductShippingMethods}
{BubbleHelpProductShippingMethods}
#REM #ENDREM
#REM #ENDREM
#IF(#IsNewProduct) #LOOP(#Shop.ShippingMethods)
#REM #ENDREM #ENDLOOP #ELSE #LOCAL("AllEnabled",0) #IF(NOT #COUNT(#ShippingMethods)) #SET("AllEnabled", 1) #ELSE #SET("AllEnabled", 0) #ENDIF #LOOP(#Shop.ShippingMethods)
#LOCAL("ShopMethodID",#ID) #LOCAL("IsElementOf",0) #LOOP(#ShippingMethods) #IF(#ShopMethodID NEQ #ID) #SET("IsElementOf",1) #ENDIF #ENDLOOP
#REM #ENDREM #ENDLOCAL #ENDLOCAL #ENDLOOP #ENDLOCAL #ENDIF
#REM #ENDREM #ENDIF
{VolumeExpansion}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#IF(#Shop.DeliveryDimensionUnitInch)inch#ELSE#SPACE[0]{mm}#ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#IF(#Shop.DeliveryDimensionUnitInch)inch#ELSE#SPACE[0]{mm}#ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#IF(#Shop.DeliveryDimensionUnitInch)inch#ELSE#SPACE[0]{mm}#ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #REM #ENDREM
{Manufacturer}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#IF(#IsSubProduct) #Manufacturer #ELSE #ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #REM #ENDREM
{Inventory}
#REM #ENDREM
#REM #ENDREM

{BubbleHelpProductNumberText}

{BubbleHelpProductNumberLinkText}

#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{BubbleHelpProductCode}
{BubbleHelpProductCodeLine2}
#REM #ENDREM
#REM #ENDREM
#IF(#UPCEAN AND NOT #IsUPCEANValid)
{MsgInvalidProductCode}
#ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{BubbleHelpStockLevelAlert}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #REM #ENDREM
{Legal}
#REM #ENDREM
#REM #ENDREM
{BubbleHelpMainCharacteristics}
#SNIPPET("INC-I18n-Tooltip", "AttributeName", "MainCharacteristics")
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#SNIPPET("INC-I18n-Tooltip", "AttributeName", "ProductDataSheet")
#REM #ENDREM
#REM #ENDREM
{MaxFileSize}: #LOCAL("Size", #CALCULATE(#WebInterfaceConf.MAXCONTENTLENGTH / 1024)) #Size[float:1] #ENDLOCAL MByte #ENDWITH_ERROR #REM #ENDREM #IF(#ProductDataSheet)
#IF(#_ProductDataSheet) #ProductDataSheet {DeleteFile} #ELSE #ProductDataSheet #ENDIF
#ENDIF #WITH_ERROR(#FormError) #REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{BubbleHelpEnergyLabelSourceFile}
#REM #ENDREM
#REM #ENDREM

{MaxFileSize}: #LOCAL("Size", #CALCULATE(#WebInterfaceConf.MAXCONTENTLENGTH / 1024)) #Size[float:1] #ENDLOCAL MByte

#ENDWITH_ERROR #REM #ENDREM #IF(#EnergyLabelSourceFile)
#IF(#_EnergyLabelSourceFile) #EnergyLabelSourceFile {DeleteFile} #ELSE #EnergyLabelSourceFile #ENDIF
#ENDIF #WITH_ERROR(#FormError) #REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #REM #ENDREM
{Attributes}
#REM #ENDREM
#REM #ENDREM
#LOCAL("ErrorItemNo", 0)
{BubbleHelpProductType}
#IF(#COUNT(#SubProducts) OR #IsSubProduct) #ELSE #ENDIF
#ENDLOCAL #REM #ENDREM
#IF(#COUNT(#UsedSelectionAttributes))
{UnityIsVariationAttribute}
#LOOP(#UsedSelectionAttributes) #IF(#IsSubProduct) #Value.ValueOrAlias #ELSE #Attribute.NameOrAlias #ENDIF #ENDLOOP
#ENDIF #IF(#COUNT(#SelectionAttributes) OR #COUNT(#TextAttributes))
#ENDIF #IF(#COUNT(#TextAttributes)) #LOOP(#TextAttributes) #WITH_ERROR(#FormError) #LOCAL("ErrorItemNo", 0) #LOCAL("InputName","UserDefined_".#Attribute.Alias)
#SNIPPET("INC-I18n-Tooltip", "AttributeName", #Attribute.Alias)
#IF(#Attribute.Length) #ELSE #ENDIF
#ENDLOCAL #ENDLOCAL #ENDWITH_ERROR #ENDLOOP #ENDIF #IF(#COUNT(#SelectionAttributes)) #LOOP(#SelectionAttributes) #WITH_ERROR(#FormError) #LOCAL("ErrorItemNo", 0) #LOCAL("InputName","UserDefined_".#Attribute.Alias)
#LOCAL("SelectedValueID", #Value.ID)#IF(NOT #DEFINED(#SelectedValueID))#SET("SelectedValueID",0)#ENDIF #IF(#FormError) #SET("SelectedValueID", #GET(#Attribute.Alias)) #ENDIF
#ENDLOCAL
#ENDLOCAL #ENDLOCAL #ENDWITH_ERROR #ENDLOOP #ENDIF
#REM #ENDREM
#REM #ENDREM #IF(NOT #Shop.FeatureMaxValue.eCMS) #REM #ENDREM
{SearchEngineEntry}
#REM #ENDREM
#REM #ENDREM

#IF(#IsNewProduct)#Shop.Name[substr:0:70,html]#ELSE#DisplayTitle[substr:0:70,html]#ENDIF

#IF(NOT #IsNewProduct AND #WebUrlPrettyUnitySSL AND #AltLanguageID == #LanguageID)#WebUrlPrettyUnitySSL#ELSE#AddLanguageToUnitySfURL(#WebUrlUnitySSL, #INPUT.AltLanguageID, #LanguageID)#ENDIF
#IF(#Text)#Text[substr:0:320,html]#ENDIF
{BubbleHelpPageTitle}
#SNIPPET("INC-I18n-Tooltip")
{BubbleHelpMetaDescription}
#SNIPPET("INC-I18n-Tooltip", "AttributeName", "Text")
#REM #ENDREM
#REM #ENDREM #REM #ENDREM #ENDIF #REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM

{Images}

#REM #ENDREM
{RecommendedImageSize} #UnityRecommendedImageSizes("Product_Image")
#REM #ENDREM
#REM #ENDREM
#IF(#IsMaster OR #IsSubProduct)
    #LOOP(#Exist)
  • #REM #ENDREM
  • #ENDLOOP
#ELSE
#ENDIF
#REM #ENDREM
#REM #ENDREM #REM#ENDREM #REM#ENDREM

{YoutubeVideo}

#REM #ENDREM
#REM #ENDREM
{BubbleHelpYoutube}
#SNIPPET("INC-I18n-Tooltip", "AttributeName", "ProductVideoProvider")
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDWITH_ERROR
#REM #ENDREM
#REM #ENDREM #REM #ENDREM #IF(NOT #Shop.FeatureMaxValue.eCMS) #ENDIF #REM #ENDREM #IF(#IsMaster AND NOT #Shop.IsMasterProductDialogHidden) #ENDIF #ENDLOCAL #REM #ENDREM