#IF(#INPUT.NEW_VARIATIONPRODUCT)
#ENDIF
#IF(#OBJECT_EXISTS)
{InputError}
{ObjectExists}
#ELSIF(#FormError)
#LOCAL("CommonError", 1)
#IF(#COUNT(#FormErrors.Form.Delete.Errors))
#LOOP(#FormErrors.Form.Delete.Errors)
#IF(#Reason EQ "DeleteProductStillBundled")#SET("CommonError", 0)
{Notification}
{DeleteProductStillBundled}
#ENDIF
#ENDLOOP
#ELSIF(#COUNT(#FormErrors.Form.SaveAppointment.Errors))
#LOOP(#FormErrors.Form.SaveAppointment.Errors)
#IF(#Reason EQ "FLOAT_TOO_LARGE")#SET("CommonError", 0)
{InputError}
{MaxStockLevelAppointment}
#ELSIF(#Reason EQ "WrongMinOrderOrStockLevel")#SET("CommonError", 0)
{InputError}
{WrongMinOrderOrStockLevel}
#ENDIF
#ENDLOOP
#ELSIF(#COUNT(#FormErrors.Form.Save.Errors))
#LOOP(#FormErrors.Form.Save.Errors)
#IF(#Reason EQ "SHORTURL_ALREADY_EXISTS")#SET("CommonError", 0)
{InputError}
{SHORTURL_ALREADY_EXISTS}
#ELSIF(#Reason EQ "INVALID_CHARACTER")#SET("CommonError", 0)
{InputError}
{SHORTURL_INVALID_CHARACTER}
#ELSIF(#Reason EQ "MissingEcoParticipationCategory")#SET("CommonError", 0)
{InputError}
{MissingEcoParticipationCategory}
#ENDIF
#ENDLOOP
#ENDIF
#IF(#CommonError)
{InputError}
{PleaseCorrectErrors}
#ENDIF
#ENDLOCAL
#ENDIF
#IF(#DELETE)
{Warning}
{AcceptAction}
#ENDIF
#IF((NOT #DELETE) AND (NOT #SuperProduct) AND (#IsVisible) AND (#DEFINED(#StockLevel)) AND (#StockLevel <= 0) AND (#Shop.ProductLowOnStockAction == 3))
{StockLevel}: #StockLevel[float] #OrderUnit.Name - {StockLevelSettingsInfo}
{StockLevelSettingsInfoText}
#ENDIF
#INCLUDE("INC-MainNames")
#IF(#FormError)
#ENDIF
#LOCAL("Calendar", #BusinessHours)
#LOCAL("AppDurationUnitID", #AppDurationUnit)
#IF(NOT #DEFINED(#AppDurationUnitID))#SET("AppDurationUnitID", #Calendar.AppDurationUnit.ID)#ENDIF
#IF(NOT #DEFINED(#AppDurationUnitID))#SET("AppDurationUnitID", #Calendar.BaseCalendar.AppDurationUnit.ID)#ENDIF
#LOCAL("AppDurationAmount", #AppDurationAmount)
#IF(NOT #DEFINED(#AppDurationAmount))#SET("AppDurationAmount", #Calendar.AppDurationAmount)#ENDIF
#IF(NOT #DEFINED(#AppDurationAmount))#SET("AppDurationAmount", #Calendar.BaseCalendar.AppDurationAmount)#ENDIF
{Duration} |
#IF(#AppDurationUnitID)
#ENDIF
{DurationExplain}
| #ENDLOCAL#ENDLOCAL
#LOCAL("CanCustomerDefinedAppDuration", #CanCustomerDefinedAppDuration)
#IF(NOT #DEFINED(#CanCustomerDefinedAppDuration))#SET("CanCustomerDefinedAppDuration", #Calendar.CanCustomerDefinedAppDuration)#ENDIF
{CanCustomerDefinedAppDuration} |
{CanCustomerDefinedAppDurationExplain}
| #ENDLOCAL
{AppointmentIntervalQuestion}
|
{AppointmentIntervalExplain}
{Example}
{AppointmentIntervalExample1}
|
#LOCAL("AppointmentInterval", #AppointmentInterval)
#IF(NOT #DEFINED(#AppointmentInterval))#SET("AppointmentInterval", #Calendar.AppointmentInterval)#ENDIF
#IF(NOT #DEFINED(#AppointmentInterval))#SET("AppointmentInterval", #Calendar.BaseCalendar.AppointmentInterval)#ENDIF
#IF(NOT #DEFINED(#AppointmentInterval))#SET("AppointmentInterval", 30)#ENDIF
{AppointmentInterval} |
{Minutes}
| #ENDLOCAL
#LOCAL("OnlyBookingPeriod", #OnlyBookingPeriod)
#IF(NOT #DEFINED(#OnlyBookingPeriod))#SET("OnlyBookingPeriod", #Calendar.OnlyBookingPeriod)#ENDIF
{OnlyBookingPeriod} |
{OnlyBookingPeriodExplain}
{Examples}
{OnlyBookingPeriodExample1}
{OnlyBookingPeriodExample2}
| #ENDLOCAL
|
#SNIPPET("INC-Appointment-LastBooking")
#SNIPPET("INC-Appointment-LastCancel")
|
#LOCAL("AcceptWithReservation", #AcceptWithReservation)
#IF(NOT #DEFINED(#AcceptWithReservation))#SET("AcceptWithReservation", #Calendar.AcceptWithReservation)#ENDIF
{AcceptWithReservation} |
| #ENDLOCAL
#ENDLOCAL
#IF(#FormError)
#ENDIF
#INCLUDE("INC-Product-Keywords")
#INCLUDE("INC-Product-Flags")
#IF(#FormError)
#ENDIF
#INCLUDE("INC-Product-Attributes")