Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions config/settings_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,24 @@
"theme_name": "WordPress Redirect",
"theme_author": "Shopify",
"theme_version": "1.0.0",
"theme_documentation_url": "https://github.com/Shopify/hydrogen-redirect-theme",
"theme_support_url": "https://github.com/Shopify/hydrogen-redirect-theme/issues"
"theme_documentation_url": "https://help.shopify.com/manual/online-sales-channels/wordpress/manage-checkout-traffic#wordpress-theme",
"theme_support_url": "https://help.shopify.com/"
},
{
"name": "Storefront",
"name": "Manage checkout traffic",
"settings": [
{
"type": "header",
"content": "Settings"
},
{
"type": "text",
"id": "storefront_hostname",
"label": "Hostname",
"info": "Without protocol, e.g. mydomain.com"
},
"label": "Redirect URL",
"info": "Where customers go when they click your logo at checkout. Exclude http:// or https://.",
"placeholder": "your-wordpress.com"
}
]
},
{
"name": "Custom redirects",
"settings": [
{
"type": "textarea",
"id": "custom_redirects",
Expand Down
2 changes: 1 addition & 1 deletion layout/theme.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
</script>
{%- else -%}
<h1>Redirect URL not set</h1>
<p>Configure the redirects in "Theme settings > Storefront".</p>
<p>Configure the redirects in "Theme settings > Manage checkout traffic".</p>
{%- endif -%}
</div>
{%- endif -%}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"license": "MIT",
"scripts": {
"build": "rm -rf dist && mkdir dist && zip -r ./dist/hydrogen-redirect-theme.zip ./*"
"build": "rm -rf dist && mkdir dist && zip -r ./dist/wordpress-redirect-theme.zip ./*"
}
}