#REM
#ENDREM
#IF(#COUNT(#PaymentMethods) == 0)
#INCLUDE("ContentLineLineItemPayment")
#ELSE
#IF(#Shop.DeliveryPaymentMethodView)
#IF(#COUNT(#PaymentMethods) >= 1)
#SET("Alternate", 1 - #Alternate)
{PaymentMethod} |
|
|
|
#IF(#DEFINED(#PaymentDiscount))
#IF(#LineItemPrice NGT 0)#varPaymentCost#ENDIF
#ELSE
#varPaymentCost
#ENDIF
|
|
#ENDLOCAL
#ENDIF
#ELSE
#SET("Alternate", 1 - #Alternate)
{PaymentMethod} |
#LOCAL("LocPaymentMethods", #PaymentMethods)
#IF(#COUNT(#LocPaymentMethods) == 0)
#REM #ENDREM
#ELSE
#IF(#COUNT(#LocPaymentMethods) == 1)
#PaymentMethod.NameOrAlias
#INCLUDE("PayPalPPCP-PaymentWall")
#ELSE
#ENDIF
#IF(#PaymentMethod.Note)
#PaymentMethod.Note[0]
#ENDIF
#INCLUDE("PayPalPPCP-PaymentWall")
|
#ENDIF
|
|
#IF(#DEFINED(#PaymentDiscount))
#IF(#LineItemPrice NGT 0)#LineItemPrice[money]#ENDIF
#ELSE
#LineItemPrice[money]
#ENDIF
|
|
#ENDLOCAL
#ENDIF
#ENDIF