Created
April 5, 2019 16:36
-
-
Save rotcl/898b5a3dc3bcce724dcb2582782a2edb to your computer and use it in GitHub Desktop.
Shopify - Call to action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
@rotcl | |
{% endcomment %} | |
<div> | |
<h2>{{ section.settings.text-box }}</h2> | |
<a href="{{ section.settings.link }}"> | |
{{ section.settings.linktext }} | |
</a> | |
</div> | |
{% schema %} | |
{ | |
"name": "Call to action", | |
"settings": [ | |
{ | |
"id": "text-box", | |
"type": "text", | |
"label": "Heading", | |
"default": "Title" | |
}, | |
{ | |
"id": "link", | |
"type": "url", | |
"label": "Link URL" | |
}, | |
{ | |
"id": "linktext", | |
"type": "text", | |
"label": "Link text", | |
"default": "Click here" | |
} | |
] | |
, | |
"presets": [ | |
{ | |
"name": "Call to Action", | |
"category": "Custom" | |
} | |
] | |
} | |
{% endschema %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eCommerce - ⚡️ Shopify ⚡️
Porque un llamado de acción siempre debe estar a tu favor
Crear cta.liquid