#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF #LOCAL("UnspecifiedError",0) #IF(#FormError AND NOT #ToolbarError)
#IF(#COUNT(#FormErrors.Form.ListedObjects.Errors))

{Notification}

#LOOP(#FormErrors.Form.ListedObjects.Errors) #IF(#Reason EQ "DeleteProductStillBundled")

{DeleteProductStillBundled}

#ELSIF(#Reason EQ "CantCloneSubProduct")

{CantCloneSubProduct} #Product.Alias

#ELSIF(#Reason EQ "CantCloneProduct")

{CantCloneProduct} #Product.Alias

#ELSE #Reason #ENDIF #ENDLOOP #ELSE #SET("UnspecifiedError",1) #ENDIF #IF(#UnspecifiedError)

{InputError}

{PleaseCorrectErrors} #ENDIF
#ENDIF #ENDLOCAL #IF(#DELETE)

{AcceptAction}

{AcceptActionInfo}

#LOOP(#DeleteObjects)#ENDLOOP

{UnityReplacementQuestion}

{UnityReplacementInfo}
#ELSIF(#FeatureMaxValueReached)

{Notification}

{NotAllProductsCloned}
{FeatureMaxValue} #Shop.FeatureMaxValue.Products #INCLUDE("FeaturePromotion")
#ELSIF(#Shop.FeatureCurrentValue.Products NGE #Shop.FeatureMaxValue.Products)

{MaxFeatureValueReached}

{FeatureMaxValue}: #Shop.FeatureMaxValue.Products[integer] #INCLUDE("FeaturePromotion")
#ENDIF #IF(NOT #DELETE)
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#ENDIF #IF(#DELETE) #ELSE #IF(#Pager.OrderBy NE "Alias") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "NameOrAlias") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "ListPrice") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "StockLevel") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #ENDIF #IF(NOT #DELETE) #ENDIF #LOCAL("CurrencyID",#Shop.CurrencyID) #IF(#DELETE) #LOOP(#DeleteObjects) #LOCAL("ListPrice", #FUNCTION("LISTPRICE", #Object, #CurrencyID, #Shop.InputTaxModel, 1)) #LOCAL("DisplayPrice",#ListPrice[money]) #LOCAL("PriceRange",#PRICERANGEFORVARIATIONS(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #IF(#IsMaster AND #PriceRange.LowestPrice) #IF(#PriceRange.HighestPrice NNE #PriceRange.LowestPrice) #SET("DisplayPrice",#PriceRange.LowestPrice[money] . " - " . #PriceRange.HighestPrice[money] ) #ELSE #SET("DisplayPrice",#PriceRange.LowestPrice[money]) #ENDIF #ENDIF #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOOP #ELSIF(NOT #COUNT(#Pager.Items)) #ELSE #LOOP(#Pager.Items) #LOCAL("ListPrice", #FUNCTION("LISTPRICE", #Object, #CurrencyID, #Shop.InputTaxModel, 1)) #LOCAL("DisplayPrice",#ListPrice[money]) #LOCAL("PriceRange",#PRICERANGEFORVARIATIONS(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #IF(#IsMaster AND #PriceRange.LowestPrice) #IF(#PriceRange.HighestPrice NNE #PriceRange.LowestPrice) #SET("DisplayPrice",#PriceRange.LowestPrice[money] . " - " . #PriceRange.HighestPrice[money]) #ELSE #SET("DisplayPrice",#PriceRange.LowestPrice[money]) #ENDIF #ENDIF #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOOP #ENDIF #ENDLOCAL
{SKU} {Name} #INCLUDE("INC-I18n-Tooltip") {ListPrice} {StockLevel}{SKU}{SKU}{SKU}{Name}#INCLUDE("INC-I18n-Tooltip"){Name}#INCLUDE("INC-I18n-Tooltip"){Name}#INCLUDE("INC-I18n-Tooltip"){ListPrice}{ListPrice}{ListPrice}{StockLevel}{StockLevel}{StockLevel}
#INCLUDE("Pager")
#IF(NOT #IsMaster) #LOCAL("IsNewStatus",0) #IF(#IsNew OR #DefaultSubProduct.IsNew) #SET("IsNewStatus",1) #ENDIF #SNIPPET("INC-Status", "New",#IsNewStatus) #ENDLOCAL #ENDIF
#Name
#DisplayPrice
#IF((NOT #IsMaster) AND #DEFINED(#StockLevel))#IF(#StockLevel NE "")#StockLevel[float]#ELSE  #ENDIF#ENDIF
#LOCAL("IsNotVisibleStatus",0) #IF(NOT #IsVisible) #SET("IsNotVisibleStatus",1) #ENDIF #SNIPPET("INC-Status", "IsNotVisible", #IsNotVisibleStatus) #ENDLOCAL
{NoProductsAvailable}
#LOCAL("IsNewStatus",0) #IF(#IsNew OR #DefaultSubProduct.IsNew) #SET("IsNewStatus",1) #ENDIF #SNIPPET("INC-Status", "New",#IsNewStatus) #ENDLOCAL
#Name#IF(#SuperProduct)(#JOIN(", ",#SuperProduct.VariationTypeValues)#LOCAL("AttributeValue",#GET(#Attribute.Alias))#Attribute.NameOrAlias: #AttributeValue.ValueOrAlias#ENDLOCAL#ENDJOIN)#ENDIF
#DisplayPrice
#IF(#IsMaster) {UnityBubbleHelpMasterListPrice} #ENDIF
#IF(#IsMaster) {UnityBubbleHelpMasterStockLevel} #ENDIF
#IF((NOT #IsMaster) AND #DEFINED(#StockLevel))#IF(#StockLevel NE "")#StockLevel[float]#ELSE #ENDIF#ENDIF
#LOCAL("IsNotVisibleStatus",0) #IF(NOT #IsVisible) #SET("IsNotVisibleStatus",1) #ENDIF #SNIPPET("INC-Status", "IsNotVisible", #IsNotVisibleStatus) #ENDLOCAL
#IF(#DELETE) #ELSE #ENDIF
#MENU("SNIPPET-Products-Script") #INCLUDE(#Template) #ENDMENU