When new customers check out on your site, they'll be asked if they want to opt in to a newsletter subscription from your store. An option saying "I wish to receive occasional newsletter emails from..." followed by the name of your store will be selected by default for customers based in the United States.

When a customer chooses to opt in, their account will be flagged as an email subscriber. You can also view the Email Subscriber setting from your Admin Area by going to Customers > Accounts and clicking on the customer's ID number.

Customers who are flagged to receive newsletters will automatically receive all newsletter emails you create and send.

Changing the text for this Option

You can change the wording of the check box option as follows:

  1. Go to Design > Site Content in your Admin Area.
  2. Select PageText from the Article Group menu.
  3. Next, select Checkout from the Category menu.
  4. Scroll down to find ID # 694 and edit the text as needed.

This website text article is specifically designed to control the behavior of the email newsletter opt-in message. Notice that the spot-key for this article reads Email_Subscriber_Preferences. This spot key setting assigns a specific behavior to the article. It is recommended that you do not modify this article outside of the instructions provided in this article.

Removing the Newsletter Option

If you want to use a third-party solution for managing newsletters, or if you don't want to use newsletters at all, you can remove the check box from your registration page entirely by deleting all text from the field described above. Once you've deleted all text, be sure to save your changes. If you view the registration page from your Admin Area, the check box still displays, but it doesn't display on the storefront to shoppers.

Setting the Newsletter Option as Unchecked by Default

As stated above, the newsletter option is enabled by default for newly registering customers in the United States. A script on the checkout page scans for each visitor's browser language setting, and recognizes a U.S. shopper when the "en-US" language code is detected. The newsletter option check box will be unchecked by default for visitors outside the United States.

You can also set the default value of this check box to a deselected state for all shoppers (preventing those who don't read the message from accidentally signing up for the store's mailing list) by adding some basic Java Script to the newsletter article body.

You'll need to edit Page Text 694 as described above and add the following Java Script code to the PageText field after the existing text:

<script type="text/javascript"> 
var newscheck;
newscheck=document.getElementsByName('emailsubscriber');
if(newscheck.length==1) { newscheck[0].checked=false; }
</script>

(Alternatively, this script can be pasted into Article # 111. To locate this article, select Articles from the Article Group menu and scroll down to article ID # 111.)

The script listed above will simply redefine the check box and its associated variable to be "false" when rendered. Customers must select this option to sign up for your newsletter mailing list during registration.

Did this answer your question?