#IF(#FormError)
#IF(#OBJECT_EXISTS)

{InputError}

{DoubleObject} #ELSIF(#FormErrors.Reason.FeatureLimitExceeded) {FeatureLimitExceeded} #ELSIF(#FormErrors.Reason.NoAttributesForExport) {NoAttributesForExport} #ELSE {PleaseCorrectErrors} #ENDIF #IF(#FormErrors.Form.ExportPortalConfig) #LOCAL("WarningsProductsNotExported", #GREP(#FormErrors.Form.ExportPortalConfig.Errors, "ProductNotExported", 1, "==")) #IF(#COUNT(#WarningsProductsNotExported)>0)

{ExportErrors}

{ExportErrorDetails}
{Details}
#LOOP(#WarningsProductsNotExported) #ENDLOOP
{SKU} {Name} {Error}
#Product.Alias#Product.Name[slice:40,html] {AttributeHasNoValue}
#ENDIF #ENDLOCAL #ENDIF
#ENDIF

{Info0}

  1. {Info2}
  2. {Info3}
  3. {Info4}
  4. {Info5}
    #System.ProtocolAndServer#Portal.ExportWebPath/#ExportFileName
#INCLUDE("INC-ExportInterval")
{ExportAllProducts}
{ExportAllVariations}
{ShippingMethod} {MandatoryStar} #LOCAL("IsMethodCorrect", 0) #IF(#DEFINED(#ShippingMethod.Region)) #LOOP(#ShippingMethod.Region.Countries) #IF(#CountryID == #PortalSite.Country.CountryID) #SET("IsMethodCorrect", 1) #ENDIF #ENDLOOP #ELSE #SET("IsMethodCorrect", 1) #ENDIF #LOCAL("ErrorShippingMethodID", 0) #IF(#FormError) #SET("ErrorShippingMethodID", #ShippingMethod) #IF(#ErrorShippingMethodID EQ "")#SET("ErrorShippingMethodID", 0)#ENDIF #ELSIF(#DEFINED(#ShippingMethod)) #SET("ErrorShippingMethodID", #ShippingMethod.ID) #ENDIF #ENDLOCAL #IF(NOT #IsMethodCorrect)
 {CountryNotInMethod} #ENDIF #ENDLOCAL
{ListColumnSeparator} #LOCAL("SelectedListColumnSeparator", #PortalSite.ListColumnSeparator) #IF(#FormError)#SET("SelectedListColumnSeparator", #INPUT.ListColumnSeparator)#ENDIF #ENDLOCAL
{ListRowSeparator} #LOCAL("SelectedListRowSeparator", #PortalSite.ListRowSeparator) #IF(#FormError)#SET("SelectedListRowSeparator", #INPUT.ListRowSeparator)#ENDIF #ENDLOCAL
{ListQuoteCharacter} #LOCAL("SelectedListQuoteCharacter", #PortalSite.ListQuoteCharacter) #IF(#FormError)#SET("SelectedListQuoteCharacter", #INPUT.ListQuoteCharacter)#ENDIF #ENDLOCAL
{always_quote}

#IF(#LastExportDate AND #ExistsExportFile)

{ShowExportFile}

#ENDIF