This tag is used to show or hide content based on information associated with the current order. This tag can be used on your site only on a Checkout Form (MM_Form type=’checkout’…/MM_Form) or on a Confirmation core page. It can also be used in Notificaciones Push sólo para eventos de pago o relacionados con la afiliación.
Atributos
membershipId (opcional) - Toma un único ID de nivel de afiliación o un Ecuación SmartTag 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 (opcional) - Toma un único ID de producto o un Ecuación SmartTag 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 (opcional) – Checks if the current order is signing up for a free membership or not. Acceptable values are ‘true’ or ‘false’.
isShippable (opcional) – Checks if the current order is purchasing a shippable product or not. Acceptable values are ‘true’ or ‘false’.
isDiscounted (opcional) – Checks if there was a discount applied to the current order. Acceptable values are ‘true’ or ‘false’.
isGift (opcional) – Checks if the product associated with the current order was purchased as a gift. Acceptable values are ‘true’ or ‘false’.
Utilización
Si utiliza varios atributos para una misma decisión, se produce una relación Y. Por ejemplo, si escribe
[MM_Order_Decision productId='1' isShippable='true']
Es decir, mostrar este contenido si...
el pedido actual está comprando el producto cuyo ID es igual a 1
Y
el pedido actual es la compra de un producto que requiere envío
Cuando utilice la etiqueta MM_Order_Decision, debe incluir siempre una etiqueta de apertura y otra de cierre. El contenido entre las etiquetas de apertura y cierre puede ser cualquier HTML o JavaScript válido y también puede contener otras MemberMouse SmartTags™, incluidas otras etiquetas de decisión, con la excepción de la propia MM_Order_Decision. La MM_Order_Decision no puede utilizarse dentro de sí misma.
He aquí algunos ejemplos válidos:
[MM_Order_Decision membershipId='1']
Este contenido está dirigido específicamente a pedidos que se registren con un ID de nivel de socio de 1.
[/MM_Order_Decision]
[MM_Order_Decision isShippable='true']
Este contenido está dirigido específicamente a los pedidos que se pueden enviar.
[/MM_Order_Decision]

