shop:password_restore
The shop:password_restore action is designed for creating the Password Restore page. Please read the Creating the Password Restore page article for examples of the action usage. The action generates a new password for a customer with specified email address, and sends an email notification to the customer.
Supported Form Fields
- email – customer email. Required.
- password_restore – a name of the Submit button element on the Password Restore page. The Submit button name is required only of you do not use the AJAX method.
- redirect – an optional field containing an URL for redirecting a visitor's browser after the successful password reset. Note: if your copy of LemonStand is installed in a subdirectory, you need to use the root_url() function to generate correct URLs referring to LemonStand pages.
- flash - an optional field, containing a message to display after the redirection. Please use the flash_message() function on the target page to display the message.
Supported AJAX handlers
- shop:on_passwordRestore – processes the password restore form. Use this handler for creating a Submit link or button on the password restore page. Example:
<a href="#" onclick="return $(this).getForm().sendRequest('shop:on_passwordRestore')">Submit</a>
Next: shop:pay
Previous: shop:manufacturer
Return to Reference


Comments
No comments posted so far.
Add your comment
Loading form...