Common Troubleshooting: My Account Communication Preferences

Q: The OptOutEmailCheckboxEnabled TRUE setting within the All Settings (Advanced) UI gets incorrectly changed to FALSE when I select the top Save button upon enabling the Opt In Flow Enabled checkbox from the Additional Customer Settings table displayed in the Customer Settings UI.

A: This is a known issue and will be resolved in a future release. The workaround, for the time being, is to use the Save button displayed within the Additional Customer Settings table at the very bottom of the UI, rather than using the one on top.

Q: My resort uses IBM Watson. How can I send a user from My Account to their email preference page?

A: Aspenware offers two widgets that can be configured to support an embedded page in My Account which can send the logged-in user to that preference center to update their email preferences. The embedded page is developed by the resort, the widgets simply allow the Aspenware commerce administrator to add HTML to each of them to drop that page into an iframe so it can be displayed in My Account.

TML Widgets for My Account

IMPORTANT: The preference center site’s web.config must be set to ALLOWALL for X-Frame-Options, unless the frame is on the same origin as the store.

  1. The widget names are Email Preferences Widget and Email Preferences Javascript.

  2. The HTML for the Email Preferences Widget is:

    1. <h4>Update Email Preferences</h4> <iframe width="100%" height="300" id="email-preferences" name="email-preferences"> </iframe>

  3. The HTML content for Email Preferences Javascript is

    1. <script>// <![CDATA[ $(document).ready(function () { if (window.frames && window.frames['email-preferences']) { let emailPreferenceUrl = 'Shop Email Preferences Embed ' + storeSettings.User.Email window.frames['email-preferences'].location.replace(emailPreferenceUrl) } }) // ]]></script>