Modular Merchant
QuickCode™ Glossary
{URL-EMAIL-UNSUBSCRIBE}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{COMPOSITE-FREE-DOWNLOADS}

{CREDIT-CARD-APPLY-TO-SUBSCRIPTIONS-URL}

{CREDIT-CARD-BLOCK-BEGIN}

{CREDIT-CARD-BLOCK-END}

{CREDIT-CARD-DELETE-URL}

{CREDIT-CARD-EXPIRATION-MONTH}

{CREDIT-CARD-EXPIRATION-YEAR}

{CREDIT-CARD-LAST-FOUR-DIGITS}

{CUSTOMER-ATTRIBUTE-DESCRIPTION}

{CUSTOMER-ATTRIBUTE-TITLE}

{CUSTOMER-ATTRIBUTE-VALUE}

{CUSTOMER-BILL-ADDRESS-1}

{CUSTOMER-BILL-ADDRESS-2}

{CUSTOMER-BILL-CITY}

{CUSTOMER-BILL-COUNTRY-ISO}

{CUSTOMER-BILL-COUNTRY-NAME}

{CUSTOMER-BILL-FIRST-NAME}

{CUSTOMER-BILL-LAST-NAME}

{CUSTOMER-BILL-STATE-ISO}

{CUSTOMER-BILL-STATE-NAME}

{CUSTOMER-BILL-ZIP}

{CUSTOMER-CREDIT-ACCOUNT-AVAILABLE-CREDIT}

{CUSTOMER-CREDIT-ACCOUNT-BALANCE}

{CUSTOMER-CREDIT-ACCOUNT-CREDIT-TERM}

{CUSTOMER-CREDIT-ACCOUNT-TERM-REMAINING}

{CUSTOMER-CREDIT-ACCOUNT-TERM-USAGE}

{CUSTOMER-CREDIT-ACCOUNT-VALUE}

{CUSTOMER-EMAIL}

{CUSTOMER-FIELD-BLOCK-BEGIN}

{CUSTOMER-FIELD-BLOCK-END}

{CUSTOMER-FIELD-DESCRIPTION}

{CUSTOMER-FIELD-TITLE}

{CUSTOMER-FIELD}

{CUSTOMER-IP-ADDRESS}

{CUSTOMER-NEWS}

{CUSTOMER-PASSWORD}

{CUSTOMER-PHONE-AREA-CODE}

{CUSTOMER-PHONE-NUMBER}

{CUSTOMER-SHIP-ADDRESS-1}

{CUSTOMER-SHIP-ADDRESS-2}

{CUSTOMER-SHIP-ADDRESS-SID}

{CUSTOMER-SHIP-CITY}

{CUSTOMER-SHIP-COUNTRY-ISO}

{CUSTOMER-SHIP-COUNTRY-NAME}

{CUSTOMER-SHIP-FIRST-NAME}

{CUSTOMER-SHIP-LAST-NAME}

{CUSTOMER-SHIP-SID}

{CUSTOMER-SHIP-STATE-ISO}

{CUSTOMER-SHIP-STATE-NAME}

{CUSTOMER-SHIP-ZIP}

{CUSTOMER-SID}

{CUSTOMER-SUBSCRIBER-NEWS}

{FEATURED-PRODUCT-BLOCK-BEGIN}

{FEATURED-PRODUCT-BLOCK-END}

{FIELD-APPLY-CC-TO-SUBSCRIPTIONS}

{FIELD-CC-IS-PRIMARY}

{FIELD-CC-MONTH}

{FIELD-NEW-CC-MONTH}

{FIELD-NEW-CC-NAME}

{FIELD-NEW-CC-NUMBER}

{FIELD-NEW-CC-YEAR}

{FIELD-TOGGLE-CC-LIST}

{FREE-DOWNLOADS-BLOCK-BEGIN}

{FREE-DOWNLOADS-BLOCK-END}

{IF-CUSTOMER-ATTRIBUTE-BEGIN}

{IF-CUSTOMER-ATTRIBUTE-END}

{IF-CUSTOMER-BILL-ADDRESS-2-BEGIN}

{IF-CUSTOMER-BILL-ADDRESS-2-END}

{IF-CUSTOMER-FIELDS-BEGIN}

{IF-CUSTOMER-FIELDS-END}

{IF-CUSTOMER-HAS-CREDIT-ACCOUNT-BEGIN}

{IF-CUSTOMER-IN-GROUP-BEGIN}

{IF-CUSTOMER-IN-GROUP-END}

{IF-CUSTOMER-LOGGED-IN-BEGIN}

{IF-CUSTOMER-LOGGED-IN-END}

{IF-CUSTOMER-SHIP-ADDRESS-2-BEGIN}

{IF-CUSTOMER-SHIP-ADDRESS-2-END}

{IF-FIELD-CUSTOMER-CUSTOM-BEGIN}

{IF-FIELD-CUSTOMER-CUSTOM-END}

{IF-FREE-DOWNLOADS-BEGIN}

{IF-FREE-DOWNLOADS-END}

{ORDER-HISTORY-BLOCK-BEGIN}

{ORDER-HISTORY-BLOCK-END}

{ORDER-HISTORY-DOWNLOAD-PASSWORD}

{ORDER-HISTORY-PRODUCT-BLOCK-BEGIN}

{ORDER-HISTORY-PRODUCT-BLOCK-END}

{PRODUCT-BILL-DATE}

{PRODUCT-SHIP-DATE}

{SCHEDULED-ORDERS-BLOCK-BEGIN}

{SCHEDULED-ORDERS-BLOCK-END}

{SCHEDULED-ORDERS-ESTIMATED-ORDER-VALUE}

{SCHEDULED-ORDERS-PRODUCT-BLOCK-BEGIN}

{SCHEDULED-ORDERS-PRODUCT-BLOCK-END}

{URL-EMAIL-UNSUBSCRIBE}

{VENDOR-HOMEPAGE}

{VENDOR-PHONE}

Customers > {URL-EMAIL-UNSUBSCRIBE}
<< {SCHEDULED-ORDERS-PRODUCT-BLOCK-END} {VENDOR-HOMEPAGE} >>
{URL-EMAIL-UNSUBSCRIBE} Updated: 12/21/2012

The {URL-EMAIL-UNSUBSCRIBE} QuickCode Tag may be used to create a link that a customer can click to automatically be unsubscribed from Modular Mailer mailing lists, including Email Series and Email Batches.

Upon clicking a link created by the {URL-EMAIL-UNSUBSCRIBE} QuickCode Tag, the customer will be directed to the store's Mailing List Management page, and the Email Opt In setting in the customer's account will immediately be toggled to NO. The appearance of the store's Mailing List Management page may be customized by editing the email_unsubscribe.template.php template within the store's live template package.

Customers who have unsubscribed from mailing lists will still receive individually generated store emails, such as Order Receipt emails.

Requirements / Prerequisites

The {URL-EMAIL-UNSUBSCRIBE} QuickCode Tag may be used within any Email Template created for use in Modular Mailer Email Series and Email Batches, as well as email templates for Store-Generated Email Messages, and HTML Templates (such as customer_account_1.template.php).

If the {URL-EMAIL-UNSUBSCRIBE} QuickCode Tag is not present in an Email Template, then Modular Mailer will automatically add an unsubscribe link at the bottom of each email generated using that Email Template. If the {URL-EMAIL-UNSUBSCRIBE} QuickCode Tag is already present in an Email Template, then Modular Mailer will not automatically add an unsubscribe link at the bottom of each email generated using that Email Template.

Example of Use

The following may be added to the source code of an HTML Template, or the HTML Version of an Email Template:

<a href="{URL-EMAIL-UNSUBSCRIBE}">Click here to unsubscribe from {COMPANY-NAME} newsletters.</a>


When the associated storefront page or email is viewed, then the following link will be displayed (in this example, the Company Name from the System Settings is My Store):

Click here to unsubscribe from My Store newsletters.

If the link is displayed on a storefront page, then any logged in customer who clicks the link will be unsubscribed. If the link is displayed in an email, then the customer to whom the email was sent may click the link to be unsubscribed.

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {URL-EMAIL-UNSUBSCRIBE} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map