Skip to content

Instantly share code, notes, and snippets.

@svaustin66
Created August 17, 2021 02:37
Show Gist options
  • Save svaustin66/faf84f162472dd5597908f6b5aff3177 to your computer and use it in GitHub Desktop.
Save svaustin66/faf84f162472dd5597908f6b5aff3177 to your computer and use it in GitHub Desktop.
<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