#LOCAL("IsErrorDisplayed", 0) #LOCAL("IsErrorDisplayedMinOrderAmountReached", 0) #IF(#FormErrors.Form.NoForm OR #FormErrors.Form.Save)
{ProductNotVisible}
#ELSIF(#Reason EQ "ProductNoTaxClass"){ProductNoTaxClass}
#ELSIF(#Reason EQ "ProductNoPrice"){ProductNoPrice}
#ELSIF(#Reason EQ "FORMAT_NOT_INTEGER") #LOOP(#Errors) #IF(#Name EQ "PaymentMethod") {SelectPaymentMethod} #ELSIF(#Name EQ "ShippingMethod") {SelectShippingMethod} #ELSIF(#Name EQ "TaxArea") {SelectTaxArea} #ELSIF(#Name EQ "Quantity") {EnterValidValue} #ELSE #Name #ENDIF #ENDLOOP #ELSIF(#Reason EQ "FORMAT_NOT_FLOAT" OR #Reason EQ "FLOAT_TOO_SMALL" OR #Reason EQ "STRING_EMPTY"){EnterValidValue}
#ELSIF(#Reason EQ "CustomerCanNotOrder"){CustomerCanNotOrder}
#ELSIF(#Reason EQ "ShippingMethodChanged"){ShippingMethodChanged}
#ELSIF(#Reason EQ "PaymentMethodChanged"){PaymentMethodChanged}
#ELSIF(#Reason EQ "ShippingMethodChangedByAddress"){ShippingMethodChangedByAddress}
#ELSIF(#Reason EQ "PaymentMethodChangedByAddress"){PaymentMethodChangedByAddress}
#ELSIF(#Reason EQ "NoShippingMethod"){NoShipping}
#ELSIF(#Reason EQ "NoPaymentMethod"){NoPayment}
#ELSIF(#Reason EQ "ConnectionError"){ConnectionError}
#ELSIF(#Reason EQ "card_declined"){CardDeclined}
#ELSIF(#Reason EQ "ProductMarkedAsChanged"){BasketItemChanged}
#Value
#ELSIF(#Reason EQ "ProductNotAvailable")#Shop.ProductNoAddToBasketText: #Value
#ELSIF(#Reason EQ "MinOrderIsNotReached") #SET("IsErrorDisplayedMinOrderAmountReached", 1){MinOrderAmount}
#ELSIF(#Reason EQ "unknown_error_code"){UnknownErrorCode}
#ELSE{UnknownError} #Reason
#ENDIF #ENDLOOP{TaxChanged}
{TaxModelChanged}
#ELSE{TaxChanged}
#ENDIF{TaxModelChanged}
#ELSE{TaxChanged}
#ENDIF{ReachedMaxBasketPositionsInfo}
{MinOrderAmount}
{BasketItemsRemoved}
{CantChangeCurrency}