#LOCAL("DoCache", 1)#LOCAL("FromSearch", 0) #IF(#INPUT.ViewAction EQ "ViewSearchedProduct")#SET("DoCache",0)#SET("FromSearch",1)#ENDIF #IF(#Shop.ShowCustomerSpecificPrices)#SET("DoCache",0)#ENDIF #BLOCK("CachedInclude", #Object, "SF-Product.Content-Base-SelectVariation" . #CacheIncludesPagerPrices , #DoCache) #IF(#SuperProduct OR #IsMaster) #LOCAL("CombinationNotAvailable", 0) #IF(#FormError AND NOT #FormErrors.Form.Login.ErrorCount) #LOOP(#FormErrors.Reasons) #IF(#Reason EQ "SUBPRODUCT_NOT_EXISTS") #SET("CombinationNotAvailable", 1) #ENDIF #ENDLOOP #ENDIF
#IF(NOT #INPUT.IsEditorMode) #ENDIF #ENDLOCAL #ENDIF #ENDBLOCK #ENDLOCAL #ENDLOCAL