Email a friend

The Email link makes it easy for your customers to share links to products with their friends. In the demo Luma store, the Email link appears as an envelope icon. The message template can be customized for your voice and brand. To prevent spamming, you can limit the number of recipients for each email, and the number of products that can be shared over a one-hour period.

w-700 modal-image
Example storefront - email a friend

Configure email-a-friend

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Catalog and choose Email to a Friend.

  3. Expand Expansion selector the Email Templates section and set the options:

    img-md
    w-600 modal-image
    Catalog configuration - email templates

    For a detailed description of each of these configuration settings, see Email Templates in the Configuration Reference Guide.

    To change the default setting of any field, clear the Use system value checkbox to make the field editable.

    • Set Enabled to Yes.

    • Set Select Email Template to the template that you want to use as the basis of the messages.

    • If you want to require that only registered customers can send email to friends, set Allow for Guests to No.

    • For Max Recipients, enter the maximum number of friends who can be on the distribution list for a single message.

    • For Max Products Sent in 1 Hour, enter the maximum number of products that can be shared by a single user with friends over a one-hour time period.

    • Set Limit Sending By to one of the following methods to identify the sender of emails:

      IP Address - (Recommended) Identifies the sender by the IP address of the computer that is used to send the emails.

      Cookie (unsafe) - Identifies the sender by browser cookie. This method is less effective because the sender can delete the cookie to bypass the limit.

  4. When complete, click Save Config.

Send email to a friend on the storefront

When this feature is configured, store customers follow these steps to share product information with friends.

  1. On a catalog page, the customer clicks the Email link.

  2. If the feature is configured only for registered users, does one of the following:

    • Logs in to your customer account.
    • Signs up for a new account.
  3. Completes the Message and enters the recipient Name and Email Address.

    If needed, the customer can add more recipients:

    • Clicks Add Invitee.

    • Enters the Name and Email Address of the additional person.

      They can send the message to as many additional people as the configuration allows. They can remove the added invitee by clicking the Remove link.

  4. When ready to send the message, clicks Send Email.

    img-md
    w-700 modal-image
    Example storefront - email to a friend
recommendation-more-help
dacea746-44a9-4368-b3fb-3bcff64c6be1