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

{Notification}

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

{DeleteProductStillBundled}

#ELSIF(#Reason EQ "CantCloneSubProduct")

{CantCloneSubProduct} #Product.Alias

#ELSE #Reason #ENDIF #ENDLOOP #ELSIF(#COUNT(#FormErrors.Form.NewProduct.Errors)) #LOOP(#FormErrors.Form.NewProduct.Errors) #IF(#Reason EQ "ObjectExists")

{InputError}

{ObjectExists} #ELSIF(#Reason EQ "NoAlias") #SET("UnspecifiedError",1) #ELSE #SET("UnspecifiedError",1) #ENDIF #ENDLOOP #ELSE #SET("UnspecifiedError",1) #ENDIF #IF(#UnspecifiedError)

{InputError}

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

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ELSIF(#FeatureMaxValueReached)

{Notification}

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

{Notification}

{MaxFeatureValueReached}
{FeatureMaxValue} #Shop.FeatureMaxValue.Products #INCLUDE("FeaturePromotion")
#ENDIF #INCLUDE("INC-PagerHeader") #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 #LOCAL("CurrencyID",#Shop.CurrencyID) #IF(#DELETE) #LOOP(#DeleteObjects) #LOCAL("ListPrice", #FUNCTION("LISTPRICE", #Object, #CurrencyID, #Shop.InputTaxModel, 1)) #ENDLOCAL #ENDLOOP #ELSIF(NOT #COUNT(#Pager.Items)) #ELSE #LOOP(#Pager.Items) #LOCAL("ListPrice", #FUNCTION("LISTPRICE", #Object, #CurrencyID, #Shop.InputTaxModel, 1)) #ENDLOCAL #ENDLOOP #ENDIF #ENDLOCAL #IF(NOT #DELETE)#LOCAL("NoNewEntry", #Shop.FeatureCurrentValue.Products == #Shop.FeatureMaxValue.Products) #ENDLOCAL#ENDIF
{SKU} {Name} {ListPrice} {StockLevel}{SKU}{SKU}{SKU}{Name}{Name}{Name}{ListPrice}{ListPrice}{ListPrice}{StockLevel}{StockLevel}{StockLevel}
#IF(NOT #DELETE)#INCLUDE("Pager")#ENDIF
#IF(#IsNew OR #DefaultSubProduct.IsNew) #ENDIF
#Name
#ListPrice[money]
#IF(#DEFINED(#StockLevel))#IF(#StockLevel NE "")#StockLevel[float]#ELSE  #ENDIF#ENDIF
{NoProductsAvailable}
#IF(#IsNew OR #DefaultSubProduct.IsNew) #ENDIF
#Name
#ListPrice[money]
#IF(#DEFINED(#StockLevel))#IF(#StockLevel NE "")#StockLevel[float]#ELSE  #ENDIF#ENDIF
#IF(#DEFINED(#Shop.CurrencyID))#LOCAL("LocalCurrency", #FUNCTION("CURRENCY", #Shop.CurrencyID))#LocalCurrency.Symbol#ENDLOCAL#ENDIF
#IF(NOT #DELETE) #ENDIF #IF(#DELETE) #ELSIF(#Pager.CountOfItems) #ENDIF