login_ button
shop | login_button
returns string
Generates an HTML Button that enables a customer to either sign in to the storefront using their Shop account or follow the shop in the Shop App.
shop | login_button: action: string
Controls the behavior of the button after authentication.
Accepts the following values:
default- Authentication onlyfollow- Performs a side-effect after authentication which follows the current shop in the Shop app. Requires additional configuration. Learn more
{{ shop | login_button: action: 'follow' }}
{{ shop | login_button: action: 'follow' }}Was this page helpful?