Skip to content

Instantly share code, notes, and snippets.

@B-uny
B-uny / Shopify Fillable Order Form
Last active January 14, 2020 04:33 — forked from carolineschnapp/gist:9122054
This order form contains input/text line-item sections (e.g. if you wanted an order form with custom engraving). A simple way to implement is to create a collection with duplicate Item names.
{% comment %}
Source: https://gist.github.com/carolineschnapp/9122054
If you are not on a collection page, do define which collection to use in the order form.
Use the following assign statement, replace 'your-collection-handle-here' with your collection handle.
{% assign collection = collections.your-collection-handle-here %}
Use the assign statement outside of this comment block at the top of your template.
Big thanks to this post for pointing me in the right direction: https://community.shopify.com/c/Shopify-Design/Order-Form-and-Line-Item-Properties/m-p/388892
{% endcomment %}
@carolineschnapp
carolineschnapp / gist:9122054
Last active March 7, 2024 08:53
Order form to use in a page or collection template.
{% comment %}
Source: https://gist.github.com/carolineschnapp/9122054
If you are not on a collection page, do define which collection to use in the order form.
Use the following assign statement, replace 'your-collection-handle-here' with your collection handle.
{% assign collection = collections.your-collection-handle-here %}
Use the assign statement outside of this comment block at the top of your template.
{% endcomment %}
{% paginate collection.products by 100 %}