https://github.com/dubniczky/shopify-snippets
Snippets of code in liquid for Shopify stores
https://github.com/dubniczky/shopify-snippets
liquid-templating-engine scripts shopify snippets snippets-collection
Last synced: about 1 year ago
JSON representation
Snippets of code in liquid for Shopify stores
- Host: GitHub
- URL: https://github.com/dubniczky/shopify-snippets
- Owner: dubniczky
- License: mit
- Created: 2022-07-20T15:31:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-20T15:39:41.000Z (almost 4 years ago)
- Last Synced: 2025-02-06T19:49:08.972Z (over 1 year ago)
- Topics: liquid-templating-engine, scripts, shopify, snippets, snippets-collection
- Language: Liquid
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Shopify Liquid Snippets
Snippets of code written in liquid for small functionalities on Shopify stores.
## Support ❤️
If you find the project useful, please consider supporting, or contributing.
[](https://www.buymeacoffee.com/dubniczky)
## Snippets
1. **Product Quantity**: displays the number of stock remaining. Shows warning if only one or none is available. ([product-quantity.liquid](/scripts/product-quantity.liquid))
1. **Tags in Collection**: displays filter quick buttons for each tag on items in the current collection. Best used if each item has one tag. ([collection-tags.liquid](/scripts/collection-tags.liquid))
1. **Product Cycle**: adds clickable images of the previous and next products in a collection, which takes the customer to the respective products. Only works if the handles are sequential numbers. Also takes tags into consideration. ([product-cycle.liquid](/scripts/product-cycle.liquid))