#WITH(#GoogleSmartShoppingPortalConfig)
#IF(NOT #IsAllowedProductUpload) #REM#ENDREM

{ProductUploadPromoHeader1}

{ErrorProductUploadCreationRequirementsNotMet1}

{ErrorProductUploadCreationRequirementsNotMet2}

#REM#ENDREM
#REM#ENDREM
#REM#ENDREM
#REM#ENDREM #ELSE #REM #ENDREM #IF(#DeleteSuccessful)

{ProductDeleteSuccessful}

#REM #ENDREM #ENDIF #IF(#ExportSuccessful)

{ProductExportSuccessful}

#REM #ENDREM #ENDIF #IF(#FormError) #IF(#FormErrors.Reason.NoShipping)

{InputError}

{ErrorExportNoShippingSelected}
#REM #ENDREM #ELSIF(#FormErrors.Form.ExportPortalConfig) #REM #ENDREM #LOCAL("FormHasOtherProductErrors", 0) #LOCAL("APIErrorMessage", "") #LOOP(#FormErrors.Form.ExportPortalConfig.Errors) #IF(#Reason EQ "daily_limit_exceeded") #SET("APIErrorMessage", #TRANSLATE("ExportErrorDailyLimitExceeded")." (Code: ".#Reason.")" ) #ELSIF(#Reason EQ "request_rate_too_high") #SET("APIErrorMessage", #TRANSLATE("ExportErrorRequestRateTooHigh")." (Code: ".#Reason.")" ) #ELSIF(#Reason EQ "access_denied") #SET("APIErrorMessage", #TRANSLATE("ExportErrorAPIErrorAccessDenied")." (Code: ".#Reason.")" ) #ELSIF(#Reason EQ "REQUEST_FAILED") #SET("APIErrorMessage", #TRANSLATE("ExportErrorAPIErrorAccessDenied")." (Code: ".#Reason.")" ) #ELSE #SET("FormHasOtherProductErrors", 1 ) #ENDIF #ENDLOOP #IF(NOT #APIErrorMessage EQ "") #REM #ENDREM

{ExportError}

#APIErrorMessage
#REM #ENDREM #ENDIF #REM #ENDREM #IF(#FormHasOtherProductErrors EQ 1) #REM #ENDREM

{ExportError}

{ExportErrorDetails}

#LOOP(#FormErrors.Form.ExportPortalConfig.Errors) #IF(#Reason EQ "ProductNotVisible") #ELSIF(#Reason EQ "ProductNoName") #ELSIF(#Reason EQ "ProductNoPrice") #ELSIF(#Reason EQ "ProductNoShipping") #ELSIF(#Reason EQ "ProductNoDescription") #ELSIF(#Reason EQ "ValueTooLong") #ELSIF(#Reason EQ "ProductReferenceAmountMisconfigured") #ELSIF(#Reason EQ "TaxModelMismatch") #ELSIF(#Reason EQ "ProductBatchError") #ELSIF( #Reason EQ "ExportErrorDailyLimitExceeded" OR #Reason EQ "ExportErrorRequestRateTooHigh" OR #Reason EQ "ExportErrorAPIErrorAccessDenied" OR #Reason EQ "REQUEST_FAILED") #REM #ENDREM #ELSE #ENDIF #ENDLOOP
{SKU} {Name} {Error}
#Product.Alias#Product.Name[slice:40,html] {ExportNotSuccessful}
{ErrorExportProductNotVisible}
#Product.Alias {ExportNotSuccessful}
{ErrorExportProductNoName}
#Product.Alias#Product.Name[slice:40,html] {ExportNotSuccessful}
{ErrorExportNoPrice}
#Product.Alias#Product.Name[slice:40,html] {ExportNotSuccessful}
{ErrorExportNoShippingAvailable}
#Product.Alias#Product.Name[slice:40,html] {ExportNotSuccessful}
{ErrorExportProductNoDescription}
#Product.Alias#Product.Name[slice:40,html] {ErrorExportValueTooLong}#Product.Alias#Product.Name[slice:40,html] {ExportNotSuccessful}
{ErrorExportProductReferenceAmountMisconfigured}
{ErrorExportDifferentTaxModels}#offerId{ErrorExportProductBatch}{UnknownError} #Reason: #Name (#Message)
#REM #ENDREM #ENDIF #REM #ENDREM #ENDLOCAL #ENDLOCAL #ENDIF #ENDIF

{ProductUploadHeadline}

  1. {ProductUploadStep1}
  2. {ProductUploadStep2}
  3. {ProductUploadStep3}
  4. {ProductUploadStep4}

{ProductUploadExtraLine}

#REM #ENDREM
#REM #ENDREM

{ProductUploadSettings}

#REM #ENDREM
#REM #ENDREM
{TargetMarketAndLanguageLabel} #PortalSite.Locale.native_territory - #TRANSLATE(#PortalSiteLanguageCode3) {TargetMarketAndLanguageTooltip}
{ShippingMethodDropDownLabel} #IF(((#ProductsInPortalConfig == 0) AND (#ExportAllProducts == 0)) OR NOT #DEFINED(#ShippingMethod)) #ELSE #ShippingMethod.NameOrAlias #ENDIF {ShippingMethodDropDownTooltip}
#REM#ENDREM #IF(#ProductStatuses AND #ProductStatuses.total > 0)

{ProductStatusesHeadline}

#REM#ENDREM

{ProductStatusLabelPending} (#ProductStatuses.pending) {ProductStatusLabelApproved} (#ProductStatuses.active) {ProductStatusLabelDisapproved} (#ProductStatuses.disapproved)

#REM#ENDREM
#REM#ENDREM #ENDIF #REM#ENDREM
#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF #SNIPPET("INC-PagerHeader", "ContextObjects", "{Products}")
#SNIPPET("INC-BatchActions", "BatchActions, MaxChars", "BatchActionsProductFeed", "all")
#REM #ENDREM #IF(NOT #Pager.Items) #ELSE #ENDIF #IF(#Pager.CountOfItems) #IF(NOT #DELETE) #ENDIF #ENDIF #IF(NOT #COUNT(#Pager.Items)) #ELSE #LOOP(#Pager.Items) #ENDLOOP #ENDIF
{SKU} {Name} {TableColumnGoogleProductStatus} {TableColumnGoogleProductIssues}
#INCLUDE("Pager")
#REM#ENDREM

{EmptyStateHeadline}

{EmptyStateDescription}

#IF(#ShopProduct) #WITH(#ShopProduct.Product)#INCLUDE("INC-ProductIcon")#ENDWITH #INCLUDE("ProductLink") #ELSE #productId #ENDIF #ShopProduct.NameOrAlias #IF(#DEFINED(#status)) #IF(#status EQ "approved") {ProductStatusInTableLabelApproved} #ELSIF(#status EQ "disapproved") {ProductStatusInTableLabelDisapproved} #ELSIF(#status EQ "pending") {ProductStatusInTableLabelPending} #ENDIF #ENDIF #LOCAL("NumberOfIssues", #COUNT(#issues)) #IF(#COUNT(#issues)) #IF(#NumberOfIssues EQ 1) {SpecificGoogleIssueSingular} #ELSIF(#NumberOfIssues > 1) {SpecificGoogleIssuesPlural} #ENDIF #ENDIF #ENDLOCAL
#ENDIF
#REM#ENDREM #ENDWITH