Skip to content

Commit

Permalink
Merge pull request #580 from Shopify/bot/liquid-docs-schema/2024-05-0…
Browse files Browse the repository at this point in the history
…3--18-00-00

🤖 Sync Liquid Docs Schema
  • Loading branch information
charlespwd authored May 6, 2024
2 parents f370797 + c409587 commit 770bfd5
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions data/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -4334,12 +4334,12 @@
"category": "customer",
"deprecated": false,
"deprecation_reason": "",
"description": "Configure the storefront for Follow on Shop. [Learn more](https://help.shopify.com/manual/online-store/themes/customizing-themes/follow-on-shop)\n\n> Note:\n> The presence of the [Shop](/docs/api/liquid/objects/shop) object\n> is required for validation purposes only.\n\n> Note:\n> The `action` specified is always `'follow'`. If this parameter is not supplied the button will not render.\n\n```liquid\n{{ shop | login_button: action: 'follow' }}\n```",
"description": "> Note:\n> The presence of the [shop](/docs/api/liquid/objects/shop) object is required for validation purposes only.",
"parameters": [
{
"description": "Specify 'follow' for the follow flow.",
"description": "The action to be performed.",
"name": "action",
"required": true,
"required": false,
"types": [
"string"
]
Expand All @@ -4354,10 +4354,29 @@
}
],
"examples": [

{
"name": "",
"description": "",
"syntax": "",
"path": "",
"raw_liquid": "",
"parameter": false,
"display_type": "text",
"show_data_tab": true
},
{
"name": "action",
"description": "Controls the behavior of the button after authentication.\n\nAccepts the following values:\n\n- `default` - Authentication only\n- `follow` - Performs a side-effect after authentication which follows the current shop in the Shop app. Requires additional configuration. [Learn more](https://help.shopify.com/manual/online-store/themes/customizing-themes/follow-on-shop)\n\n```liquid\n{{ shop | login_button: action: 'follow' }}\n```\n",
"syntax": "shop | login_button: action: string",
"path": "",
"raw_liquid": "",
"parameter": true,
"display_type": "text",
"show_data_tab": true
}
],
"summary": "Generates an HTML Button that enables a customer to follow the Shop in the Shop App",
"syntax": "shop | login_button: action: 'follow'",
"summary": "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.",
"syntax": "shop | login_button",
"name": "login_button"
},
{
Expand Down

0 comments on commit 770bfd5

Please sign in to comment.