#IF(#IsMaster)

{MasterProductTemplateInfo1}

{MasterProductTemplateInfo2}

#ENDIF

{General}

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

{InputError}

{ObjectExists}
#ELSIF(#FormError)
#IF(#COUNT(#FormErrors.Form.Save.Errors)) #LOOP(#FormErrors.Form.Save.Errors) #IF(#Reason EQ "SHORTURL_ALREADY_EXISTS")

{InputError}

{SHORTURL_ALREADY_EXISTS} #ELSIF(#Reason EQ "INVALID_CHARACTER")

{InputError}

{SHORTURL_INVALID_CHARACTER} #ENDIF #ENDLOOP #ELSE

{InputError}

{PleaseCorrectErrors} #ENDIF
#ENDIF #IF(#ShopProductsMaxedOut)

{MaxFeatureValueReached}

{FeatureMaxValue}: #Shop.FeatureMaxValue.Products[integer]
#ENDIF #REM #ENDREM #WITH_ERROR(#FormError)
#IF(NOT #IsMaster)
#REM #ENDREM
{BubbleHelpProductVisible}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDIF
#SNIPPET("INC-WYSIWYG", "Name,InputName,Value,TranslationHead,Help", "DescriptionTranslation", "Description", #Description, "{Description}", "{BubbleHelpLongDescription}")
#REM #ENDREM
{FurtherOptions}
{BubbleHelpKeywords}
{BubbleHelpKeywordsLine2}
#REM #ENDREM
#REM #ENDREM #REM #ENDREM

{Price}

#REM #ENDREM
#REM #ENDREM #IF(NOT #IsMaster)
#IF(#SuperProduct)
{BubbleHelpHasSubOwnPrices}
 
#LOCAL("MasterListPrice", #FUNCTION("LISTPRICE", #SuperProduct.Object, #ShopCurrencyID, #Shop.InputTaxModel, 1)) #MasterListPrice[money] #ENDLOCAL
#SuperProduct.TaxClass.NameOrAlias
#ENDIF
#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("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 #ENDLOCAL
#REM #ENDREM
#REM #ENDREM #ENDIF #IF(#SuperProduct) #ENDIF #REM #ENDREM
#IF(NOT #IsMaster)
{FurtherOptions}
#REM #ENDREM
#REM #ENDREM #ENDIF
#IF(NOT #IsMaster)
{ComparisonPriceHint1}
#REM #ENDREM
#REM #ENDREM
#LOCAL("ManufacturerPrice", #ManufacturerPrice) #IF(NOT #IsNewProduct) #SET("ManufacturerPrice", #MANUFACTURERPRICE(#Object, #ShopCurrencyID, #Shop.TaxModel,#UNDEF, 1)) #ENDIF #ENDLOCAL
#REM #ENDREM
#ShopCurrencySymbol
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDIF
{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
#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 #IF(NOT #IsMaster)
{BubbleHelpExampleWeight}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#LOCAL("WeightUnitID", #FUNCTION("ERROR_VALUE", #WeightUnit, #WeightUnit.ID)) #ENDLOCAL
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDIF
#REM #ENDREM #REM #ENDREM
{FurtherOptions}
#REM #ENDREM
#REM #ENDREM
{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
#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
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #IF(NOT #IsMaster)
{BubbleHelpProductCode}
{BubbleHelpProductCodeLine2}
#REM #ENDREM
#REM #ENDREM
#IF(#UPCEAN AND NOT #IsUPCEANValid)
{MsgInvalidProductCode}
#ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #REM #ENDREM
{Inventory}
#REM #ENDREM
#REM #ENDREM
#IF(NOT #IsMaster)
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDIF
{BubbleHelpStockLevelAlert}
#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}
#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}
#LOCAL("LinkObjectID",#Shop.ProductClass.ID) #IF(#SuperProduct OR #COUNT(#SubProducts)) #ELSE #ENDIF
#ENDLOCAL #IF(#AltLanguageID) #ENDIF
#ENDLOCAL
#SNIPPET("LanguageSelect","PlainLayout,InputLabelling",1,"class='InputLabelling'") #LOOP(#UserDefinedAttributeValues)#WITH_ERROR(#FormError)#LOCAL("ErrorItemNo", 0)#LOCAL("InputName","UserDefined_".#Attribute.Alias)
#IF((#Attribute.Type EQ "PreDefLocalizedString") AND #FUNCTION("IsVariationAttribute", #Object, #Attribute.Object)) {UnityIsVariationAttribute} #ENDIF
#IF(#Attribute.Type EQ "String" OR #Attribute.Type EQ "LocalizedString")
#IF(#Attribute.Length) #ELSE #ENDIF
#ELSIF((#Attribute.Type EQ "PreDefString" OR #Attribute.Type EQ "PreDefLocalizedString")) #IF(#FUNCTION("IsVariationAttribute", #Object, #Attribute.Object)) #IF(#SuperProduct)
#Value.ValueOrAlias
#ENDIF #ELSE #LOCAL("SelectedValueID", #Value.ID)#IF(NOT #DEFINED(#SelectedValueID))#SET("SelectedValueID",0)#ENDIF #IF(#FormError)#SET("SelectedValueID", #GET(#Attribute.Alias))#ENDIF
#ENDLOCAL #ENDIF #ENDIF
#LOCAL("AltLabelName",#Attribute.NameOrAlias) #IF(#AltLanguageID AND #Attribute.Type NE "String")#WITH_LANGUAGE(#AltLanguageID)#LOCAL("ErrorItemNo",1)#LOCAL("LocalizedValue", #GET(#Attribute.Alias))
#IF(#Attribute.Type EQ "String")
#Attribute.NameOrAlias
#ENDIF
#ENDLOCAL#ENDLOCAL#ENDWITH_LANGUAGE#ENDIF#ENDLOCAL #ENDLOCAL#ENDLOCAL#ENDWITH_ERROR#ENDLOOP
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM

{Images}

#REM #ENDREM
#REM #ENDREM
#IF(#IsMaster)
    #LOOP(#Exist)
  • #ENDLOOP
#ELSE
#ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDWITH_ERROR
#REM #ENDREM
#REM #ENDREM