Skip to content

Login Link Methods

SmartCart.getLoginLabel ⇒ string

Get the login button text from the current SmartCart instance

SmartCart.getLoginUrl ⇒ string

Get the login button URL from the current SmartCart instance

SmartCart.shouldRenderLoginComponent ⇒ boolean

Check if the login component should be rendered

SmartCart.getLoginLabel ⇒ string

Get the login button text from the current SmartCart instance

Returns: string - The login button text

SmartCart.getLoginUrl ⇒ string

Get the login button URL from the current SmartCart instance

Returns: string - The login button URL

SmartCart.shouldRenderLoginComponent ⇒ boolean

Check if the login component should be rendered

Returns: boolean - True if the login component should be rendered