Note: This document is for Flits users who have already installed Flits before 30th April 2019

* Who will install Flits after 30th April 2019, This feature will be automatically enabled. They don't need to add any code. They have to enable Amazon Social Login Settings from Settings section.


1. Open Theme in which you want to add Amazon Social Login.

2. From the Edit Code section of that theme, Open flits_social_login_snippet.liquid file.

3. Replace your existing file content with the new file content (you can find the new file in attachment.)

4. Open en.default.json in that theme.

5. Search for the "flits" section.

6. In flits section 

  1. You will find "social_login_page" section -> replace it with new code
  2. If you are unable to find it just add below code in "flits" section.


New Code for "en.default.json"

   

"social_login_page": {

      "facebook": "Facebook",

      "google": "Google+",

      "twitter": "Twitter",

      "amazon": "Amazon"

}


If you have followed all the steps properly, you can successfully update the theme code.

Now go to the Flits Admin and enable Amazon Social login from Social Login Settings.




For any further query, contact suppot@getflits.com