Skip to content

Instantly share code, notes, and snippets.

@rotcl
Created April 5, 2019 16:36
Show Gist options
  • Save rotcl/898b5a3dc3bcce724dcb2582782a2edb to your computer and use it in GitHub Desktop.
Save rotcl/898b5a3dc3bcce724dcb2582782a2edb to your computer and use it in GitHub Desktop.
Shopify - Call to action
{% 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 %}
@rotcl
Copy link
Author

rotcl commented Apr 5, 2019

eCommerce - ⚡️ Shopify ⚡️

Porque un llamado de acción siempre debe estar a tu favor
Crear cta.liquid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment