Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<button type="submit" name="add" class="action_button add_to_cart" >
{% if product.tags contains 'Gift Box' %}
<input type="hidden" name="return_to" value="/pages/add-a-box" />
{% endif %}
<span class="text">{{ add_to_cart_label }}</span>
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment