Skip to content
Andy Day edited this page Jul 6, 2015 · 14 revisions

Examples

Me Drop-down List

Me Settings Popup

Prerequisites

Before proceeding make sure to follow the setup steps in Getting Started.

Usage

To use the Me Widget, copy and paste the following code into the HTML of your site.

<div data-fc-me="OPTIONS"></div>

For example this snippet sets all available options.

<div data-fc-me="library:true;password:true;billing:true;shipping:true;loginLabel:My Account;history:true;optInMail:true;optInLabel:I would like to receive new book announcements and exclusive discounts. Sign me up."></div>

Options

Option Valid Values Default Value Description
library true or false false If true, displays the Library link in the Drop-down List.
password true or false false If true, allows user to change password in the Settings Popup.
billing true or false false If true, allows user to change Billing address in the Settings Popup.
shipping true of false false If true, allows user to change Shipping address in the Settings Popup.
loginLabel text string Sign In The text shown if the user is not logged in.
history true or false false If true, displays the Order History link in the Drop-down List.
optInMail true of false false If true, include the Opt-In-Mail check-box on the Settings Popup.
optInLabel text string NO DEFAULT The text shown for the Opt-In-Mail check-box on the Settings Popup.

Clone this wiki locally