#WITH_ERROR(#FormError)
#IF(#FormError)
#IF(#FormErrors.Reason.NoShipping)

{InputError}

{NoShippingSelected} #ELSIF(#FormErrors.Form.ExportPortalConfig)

{ExportErrors}

{ExportErrorDetails}

{Details}
#LOOP(#FormErrors.Form.ExportPortalConfig.Errors) #LOCAL("FormErrorPrinted", 1) #IF(#Reason EQ "ProductNotVisible")
#Product.Alias (#Product.Name[slice:40,html]): {ProductNotVisible} ({NoExport}) #ELSIF(#Reason EQ "ProductNoName")
#Product.Alias: {ProductNoName} ({NoExport}) #ELSIF(#Reason EQ "ProductNoPrice")
#Product.Alias (#Product.Name[slice:40,html]): {ProductNoPrice} ({NoExport}) #ELSIF(#Reason EQ "ValueTooLong")
#Product.Alias (#Product.Name[slice:40,html]):#IF(#AttributeName EQ "title") {ValueTooLongName}#ELSE {ValueTooLongDescr}#ENDIF #ELSE #SET("FormErrorPrinted", 0) #MENU("FormErrorMenu")#INCLUDE(#Template)#ENDMENU #ENDIF #IF(NOT #FormErrorPrinted)
{UnknownError} #Reason: #Name (#Message) #ENDIF #ENDLOCAL #ENDLOOP
#ENDIF
#ENDIF #WITH(#Shop.ProductClass) #ENDWITH
{RegisterPortal}

{Country} #PortalSite.Country.Native
{Language} #PortalSite.Language.Native
{CurrencyID} #PortalSite.Currency.Symbol
{ExportAllProducts} {yes} {no}
{IsLinkWithAdd2Basket} {yes} {no}
{ShippingMethod} #LOCAL("ErrorShippingMethodID", #ShippingMethod.ID) #IF(#FormError) #SET("ErrorShippingMethodID", #ShippingMethod) #ENDIF #ENDLOCAL
{ImageAttribute}
{Description}
#ENDWITH_ERROR