You can use multiple value tests in a macro (on the screen or in an invoice/packing slip etc.).
The following example shows how this can be done.
if you want to display the text
NO VAT TO PAY
If someone pays in US dollars AND the shipping cost is zero (0.0) and the shipping method is either UPS, Air Mail or Standard.
This is made up of 3 different tests and can be written as 3 separate macros.
Pays in US dollars
#[%CURRENCY%][=]#$[TRUE][FALSE]
Shipping cost is zero (0.0)
[%ORD_TOTAL_TAX%][=]0.00[TRUE][FALSE]
Shipping method is either UPS, Air Mail or Standard
#UPS#Air Mail#Standard[?]#[%POSTAL_SERVICE%][TRUE][FALSE]
To use all these tests together you put the 2nd test in the TRUE component of the test, the final one being the NO VAT TO PAY text. If you leave the FALSE component as blank, nothing will be displayed if any of the values is not true.
So this macro would be:
#[%CURRENCY%][=]#$[[%ORD_TOTAL_TAX%][=]0.00[#UPS#Air Mail#Standard[?]#[%POSTAL_SERVICE%][NO VAT TO PAY][]][]][]
To use this in an Invoice (in the HTML) you need to put #!# around the macro so this macro would become
#!##[%CURRENCY%][=]#$[[%ORD_TOTAL_TAX%][=]0.00[#UPS#Air Mail#Standard[?]#[%POSTAL_SERVICE%][NO VAT TO PAY][]][]][]#!#
For more information on writing macros if you use the following link: