Hi
I have created a layout in the store section to allow member login. I copied the layout below, which is a copy of the Standard Login Layout.
It does work, the customer can log in from the store section, however once the user is logged in, it blanks out all their login input and returns to the same page. The customer therefore thinks the login has not worked and keeps re-entering the info.
Can you tell me what I need to add in and where, so that - if successful - the user is bounced to the homepage https://www.mysite.com.
Your help would be much appreciated.
<form method="post" name="MainLoginForm" action="<actinic:variable name="OnlineScriptURL" value="Login Script URL" />">
<input type="hidden" name="RANDOM" value="<actinic:variable name='Random'/>">
<input type="hidden" name="ACTINIC_REFERRER" value="<actinic:variable name="CatalogURL" />" />
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
<!-- Hidden field when in trial mode -->
<input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>">
</actinic:block>
<actinic:variable name="CheckoutArea" value="Scripts for Password Encryption" />
<actinic:variable value="Standard Login Layout" name="LoginLayout" />
</form>
I have created a layout in the store section to allow member login. I copied the layout below, which is a copy of the Standard Login Layout.
It does work, the customer can log in from the store section, however once the user is logged in, it blanks out all their login input and returns to the same page. The customer therefore thinks the login has not worked and keeps re-entering the info.
Can you tell me what I need to add in and where, so that - if successful - the user is bounced to the homepage https://www.mysite.com.
Your help would be much appreciated.
<form method="post" name="MainLoginForm" action="<actinic:variable name="OnlineScriptURL" value="Login Script URL" />">
<input type="hidden" name="RANDOM" value="<actinic:variable name='Random'/>">
<input type="hidden" name="ACTINIC_REFERRER" value="<actinic:variable name="CatalogURL" />" />
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
<!-- Hidden field when in trial mode -->
<input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>">
</actinic:block>
<actinic:variable name="CheckoutArea" value="Scripts for Password Encryption" />
<actinic:variable value="Standard Login Layout" name="LoginLayout" />
</form>
Comment