Esta etiqueta muestra el enlace con el que un afiliado puede interactuar para realizar diferentes acciones relacionadas con su cuenta, como cancelar su afiliación o pausar un paquete que tenga activo en su cuenta. Para convertirse en un enlace funcional, esta etiqueta debe utilizarse junto con una etiqueta de anclaje (<a>), una etiqueta de botón (<button>) u otro método de ejecución de un enlace.
Atributos
tipo – Indicates the type of action to perform on the current member’s account. Below is a list of acceptable values:
| Valor | Descripción |
cancelarMembresía | Muestra un enlace en el que el afiliado actual puede hacer clic para darse de baja. |
pauseMembership | Muestra un enlace en el que el afiliado actual puede hacer clic para poner en pausa su afiliación. |
cancelBundle | Outputs a link that the current member can click on to cancel a bundle on their account. The ‘value’ attribute containing the bundle ID to cancel is required when creating this type of link. |
pauseBundle | Outputs a link that the current member can click on to pause a bundle on their account. The ‘value’ attribute containing the bundle ID to pause is required when creating this type of link. |
freeBundle | Outputs a link that the current member can click on to apply a free bundle to their account. The ‘value’ attribute containing the bundle ID of the free bundle to apply to the account is required when creating this type of link. |
redirectUrl (opcional) - Indica la URL a la que redirigir después de completar con éxito la acción. Si no se especifica, el comportamiento predeterminado es actualizar la página actual y mostrar un mensaje al miembro con los resultados de la acción.
valor (opcional) – Used in conjunction with ‘cancelBundle’, ‘pauseBundle’ and ‘freeBundle’ links, this attribute specifies the ID of the bundle to cancel, pause or apply to the member’s account.
Utilización
<a href="/es/[MM_Member_Link type='cancelMembership']/">Cancelar afiliación</a>

