Announcement

Collapse
No announcement yet.

Can I create a link from another site back to my site that will automatically log...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can I create a link from another site back to my site that will automatically log...

    Can I create a link from another site back to my site that will automatically log them in so that I can only display certain products to those customers?
    1. Create a new customer group (Marketing | Customer Groups).
    2. Create a generic customer account and set the 'Customer Group' for the account to the one you have just created.
    3. Go through your catalog and set which products you want to show for this account ('Prices' tab of products - tick or untick the 'Product visible' box for this customer group).
    4. Copy the 'login.html' file in the '<site>/SiteHtml'* folder.
    5. Paste it in the root of the site folder and rename it to 'autologin.html'.
      [* Edit 'autologin.html' using notepad.
    6. Find the '<body>' tag. You will see:

      <body onload="PreloadImages(

    7. Change this to:

      <body onload="SubmitLogin('MainLoginForm');PreloadImages(

    8. Then search for :

      name="USER"

    9. This should take you to the 'input' tag for the username. Add a value for the username of the account to this tag, for example:

      <input type="text" value="accountusername" name="USER" size="20" maxlength="60" />

    10. Then search for:

      name="PASS"

    11. This should take you to the 'input' tag for the password. Add a value for the password of the account, for example:

      <input type="password" value="accountpassword" name="PASS" size="20" maxlength="60" />

    12. Close and save the file.
    13. Add the autologin.html file to 'Design | Additional Files'within the software.
    14. The link to use on the referring website should be set as per this article and point the DESTINATION value to the autologin.html page. When clicked on it will display the login page with the username and password field already filled in and then automatically bounce them into the store.
    15. You could edit autologin.html further to hide the input tags and just display a message if you wish.


    * With the introduction of v10.0.3 of the software, the location of the 'SiteHTML' folder has changed. From this version onwards upon installation the user will be prompted for a location to install this folder, if the default is accepted it will appear under your operating systems user profile folder "All Users\Application Data\Actinic v10\<site folder>\SiteHTML **"

    ** Versions after v11.03 will have a folder name of 'SellerDeck xxxx' where 'xxxx' is the version number.
Working...
X