#SET("Alternate", 1 - #Alternate) {ProtectedAmount} #Name #IF (#ProtectionItem.ProtectedAmount < #LineItemContainer.GrandTotal) #LOOP(#LineItemContainer.TrustedShopsProtectionItems, 0, 0) #IF(#ProtectedAmount > #ProtectionItem.ProtectedAmount)
{ProtectionNotSufficient}
#ENDIF #ENDLOOP #ELSE #LOOP(#LineItemContainer.TrustedShopsProtectionItems, 0, 0) #IF(#ProtectedAmount < #ProtectionItem.ProtectedAmount)
{ProtectionTooHigh}
#ENDIF #ENDLOOP #ENDIF #IF(#LineItemPrice)#LineItemPrice[money]#ENDIF