#IF(NOT #Shop.FeatureMaxValue.Basket)
{Notification}
{NoAddToBasketFeature}
#ELSE
#LOCAL("ShopBasket", #GET("Session.User.Child.Baskets.Child." . #Shop.ID))
{ItemEntryForm}
{NoticeText}
#IF(#FormError)
{InputError}
#IF(#FormErrors.Reason.FieldEmpty OR #FormErrors.Reason.ListEmpty)
{ListEmpty}
#ELSIF(#FormErrors.Reason.AliasNotFound)
{AliasNotFound}
#ELSIF(#FormErrors.Reason.ProductCanNotAddToBasket)
{ProductCanNotAddToBasket}
#ELSIF(#FormErrors.Reason.ProductNoPrice)
{ProductNoPrice}
#ELSIF(#FormErrors.Reason.ProductCanNotChangedAtBasket)
{ProductCanNotChangedAtBasket}
#ELSIF(#FormErrors.Reason.NoShipping)
{NoShipping}
#ELSIF(#FormErrors.Reason.ExclusiveShippingMethod)
{ExclusiveShippingMethod}
#ELSIF(#FormErrors.Reason.NoPayment)
{NoPayment}
#ELSE
{PleaseCorrectErrors}
#ENDIF
#ENDIF
#IF(#COUNT(#Warnings))
{Notification}
#LOOP(#Warnings)
#IF(#Code EQ "AliasNotFound")
{AliasNotFound} #Vars.Alias
#ELSIF(#Code EQ "ProductCanNotAddToBasket")
{ProductCanNotAddToBasket} #Vars.Product.Alias
#ELSIF(#Code EQ "ProductNoPrice")
{ProductNoPrice}
#ELSIF(#Code EQ "ProductCanNotChangedAtBasket")
{ProductCanNotChangedAtBasket} #Vars.Product.Alias
#ELSIF(#Code EQ "NoShipping")
{NoShipping} #Vars.Product.Alias
#ELSIF(#Code EQ "ExclusiveShippingMethod")
{ExclusiveShippingMethod}
#ELSIF(#Code EQ "NoPayment")
{NoPayment} #Vars.Product.Alias
#ELSE
#Message
#ENDIF
#ENDLOOP
#ENDIF
#ENDLOCAL
#ENDIF