{OrderConfirmation}

 
#IF(#SEND_MAIL_FAILED)

{Notification}

{SEND_MAIL_FAILED}
 
#ELSIF(#BillingAddress.EMail AND #Shop.Child.MailTypes.Child.CustomerOrderConfirmation.IsActive)

{ConfirmationMailSent}

#ENDIF #ORDERCONFIRMATIONTEXT(#Object)

{OrderNo} #Alias
#LOCAL("ForcePrintLink", 1) #INCLUDE("Content-PrintButton") #ENDLOCAL

{DoNow}
{DisplayHomepage}
#IF(#Shop.FeatureMaxValue.DetailedSearch) {SearchProducts}
#ENDIF #IF(NOT #Session.User.IsAnonymous) {MyAccount}
{Logout} #ENDIF

 
#REM #ENDREM #WITH(#Shop)
#IF(#DEFINED(#Style.Logo) OR #DEFINED(#Logo)) #ENDIF
#IF(#DEFINED(#Address)) #WITH(#Address) #FUNCTION("LocaleInclude", "ShopAddress", #Country.Code2) #IF(#CommercialRegister)
#CommercialRegister#ENDIF #IF(#VATID)
{VATID}: #VATID#ENDIF #ENDWITH #ENDIF
#REM #ENDREM #ENDWITH
#IF(#BillingAddress)#WITH(#BillingAddress) #ENDWITH#ENDIF #IF(#ShippingAddress) #WITH(#ShippingAddress) #ENDWITH #ENDIF

{BillingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2)
#INCLUDE("CustomerInfo")

{ShippingAddress}

#FUNCTION("LocaleInclude", "Address", #Country.Code2) #IF(#EMail)
#EMail#ENDIF
{OrderConfirmation}
{OrderNo} #Alias {CustomerNoShort}: #IF(#Customer.Alias)#Customer.Alias#ENDIF
  {OrderDate}: #CreationDate[date_tz]
#LOCAL("OrderDoneText", #ORDERCONFIRMATIONTEXT(#Object))
#OrderDoneText[noactivemedia, 0]
#ENDLOCAL
 
#INCLUDE("INC-OrderInformationTable")
 

{BestRegards} #WITH(#Shop.Address) #IF(#Company)
#Company#ENDIF #ENDWITH