This tag is used to show or hide content based on information associated with the current order. This tag can only be used on a Checkout Form (
[MM_Form type='checkout']...[/MM_Form] or on a confirmation core page.
membershipId (optional) - Takes a single membership level ID or a SmartTag equation incorporating multiple membership level IDs. You can also precede the ID with a '!' to check if the current member does not have that membership level.
productId (optional) - Takes a single product ID or a SmartTag equation incorporating multiple product IDs and checks if the current order is purchasing at least one of the products listed. You can also precede the ID with a '!' to check if the current order is not purchasing that product.
isFree (optional) - Checks if the current order is signing up for a free membership or not. Acceptable values are
isShippable (optional) - Checks if the current order is purchasing a shippable product or not. Acceptable values are
isDiscounted (optional) - Checks if there was a discount applied to the current order. Acceptable values are
isGift (optional) (SmartTags 2.1+ only) - Checks if the product associated with the current order was purchased as a gift. Acceptable values are
If you use multiple attributes for a single decision, it results in an AND relationship. For example, if you write:
[MM_Order_Decision productId='1' isShippable='true']
This means, show this content if...
the current order is purchasing the product where ID equals 1
the current order is purchasing a product that requires shipping
When using the
[MM_Order_Decision] itself. The
[MM_Order_Decision] cannot be used within itself. Here are some valid examples:
This content is directed specifically toward orders signing up for a membership level ID of 1.
This content is directed specifically toward orders that are shippable.