Skip to content

liquid_page_form_actions

Vladimir Krõlov edited this page Dec 28, 2014 · 3 revisions

Form actions URLs

Form method is POST. Saves localization in the url

  • cart_add - add item to cart. Params: {variant => variant.id, amount => 5}
  • cart_checkout - go to checkout process.
  • cart_update - update cart params. Params: {update => {variant.id => 4}}
  • new_login - allow user to relogin
  • auth_input - hidden input attributes which should be always added to form. It is needed to maximally prevent not authorized robots make bad things :)
  • password_request - generates url to request password reset url
  • password_change - generates url to update password (when user has token)

Clone this wiki locally