All Projects β†’ dlerm β†’ shopify-wishlist

dlerm / shopify-wishlist

Licence: MIT license
πŸ’™ A set of files used to implement a simple customer wishlist on a Shopify store

Programming Languages

javascript
184084 projects - #8 most used programming language
Liquid
124 projects

Projects that are alternatives of or similar to shopify-wishlist

Shopify Lang
Multi-Language Shopify OnlineΒ Shop
Stars: ✭ 26 (-77.39%)
Mutual labels:  liquid, shopify
Shopify Theme Inspector
A Chrome DevTools plugin that visualizes Shopify Liquid render profiling data so you can triage long-running code and reduce server response times!
Stars: ✭ 102 (-11.3%)
Mutual labels:  liquid, shopify
Language Liquid
Liquid language support for Atom.
Stars: ✭ 28 (-75.65%)
Mutual labels:  liquid, shopify
Shopify Theme Lab
Shopify theme development environment using Liquid, Vue and Tailwind CSS πŸ§ͺ
Stars: ✭ 250 (+117.39%)
Mutual labels:  liquid, shopify
richer
jquery free ajax cart for shopify
Stars: ✭ 35 (-69.57%)
Mutual labels:  ajax, shopify
Craigstarter
An open source crowdfunding tool built on Shopify
Stars: ✭ 484 (+320.87%)
Mutual labels:  liquid, shopify
Slater Theme
Shopify Starter theme based on slate
Stars: ✭ 47 (-59.13%)
Mutual labels:  liquid, shopify
dry
Dry is a new template engine and language, and is a superset of Shopify's Liquid, with first-class support for advanced inheritance features, and more. From the creators of Enquirer, Assemble, Remarkable, and Micromatch.
Stars: ✭ 66 (-42.61%)
Mutual labels:  liquid, shopify
Moonmail
Email marketing platform for bulk emailing via Amazon SES (Google Cloud Platform and Azure coming soon)
Stars: ✭ 1,766 (+1435.65%)
Mutual labels:  liquid, shopify
Shopify Modern
A modern template for developing Shopify-themes using Vuejs
Stars: ✭ 136 (+18.26%)
Mutual labels:  liquid, shopify
vscode-liquid-snippets
Shopify Liquid Template Snippets
Stars: ✭ 22 (-80.87%)
Mutual labels:  liquid, shopify
Ajaxinate
🎑 Ajax pagination plugin for Shopify themes
Stars: ✭ 107 (-6.96%)
Mutual labels:  ajax, shopify
liquidpy
A port of liquid template engine for python
Stars: ✭ 49 (-57.39%)
Mutual labels:  liquid, shopify
vscode-liquid
πŸ’§Liquid language support for VS Code
Stars: ✭ 137 (+19.13%)
Mutual labels:  liquid, shopify
gulp-shopify-theme
Shopify theme synchronisation during development
Stars: ✭ 26 (-77.39%)
Mutual labels:  liquid, shopify
Jsx Lite
Write components once, run everywhere. Compiles to Vue, React, Solid, Angular, Svelte, and Liquid.
Stars: ✭ 1,015 (+782.61%)
Mutual labels:  liquid, shopify
bootstrap-shopify-theme
πŸ› A free Shopify Theme built with Bootstrap, BEM, Liquid, Sass, ESNext, Theme Tools, ... and Webpack.
Stars: ✭ 41 (-64.35%)
Mutual labels:  liquid, shopify
Concrete
πŸ— Concrete Shopify Theme Framework
Stars: ✭ 124 (+7.83%)
Mutual labels:  liquid, shopify
host-webfonts-locally
OMGF automagically caches the Google Fonts used by your theme/plugins locally. No configuration (or brains) required!
Stars: ✭ 13 (-88.7%)
Mutual labels:  localstorage, ajax
mechanic-tasks
Public task repository for Mechanic (https://mechanic.dev)
Stars: ✭ 42 (-63.48%)
Mutual labels:  liquid, shopify

Shopify Wishlist

A set of files used to implement a simple customer wishlist on a Shopify store.

Version: 2.3.0 - Compatible with Online Store 2.0

Previous Versions:

Installation

To begin using Shopify Wishlist, you must copy some of the files in this repo into your Shopify theme code.

Note: This setup assumes that you have a snippet for displaying a product card.

Files to copy:

Repo File Shopify Theme Location
button-wishlist.liquid snippets/
icon-heart.liquid snippets/
wishlist-template.liquid sections/
product-card-template.liquid sections/
page.wishlist.json templates/
product.card.json templates/
Wishlist.js assets/
  1. Place the button-wishlist.liquid snippet inside your existing product card snippet, or on the product.liquid template
    • {%- render 'button-wishlist', product: product -%}
    • This will allow customer's to add/remove items to/from their wishlist
  2. Replace the snippet in the product-card-template.liquid section with your existing product card snippet
    • Same snippet from step 1
  3. Create a new page in the Shopify admin:
    • Admin > Online Store > Pages > Add Page
    • Set the new page's template to page.wishlist
    • This page will display a customer's saved wishlist items
  4. Place the script in theme.liquid before the closing </head> tag
    • <script src="{{ 'Wishlist.js' | asset_url }}" defer="defer"></script>

That's it! When viewing your Shopify store, you should see the wishlist buttons inside your product cards (likely on collections pages) or on the product template. A click on the wishlist button will add/remove the item from the customer's wishlist and trigger active styling on the button. After adding wishlist items, you can view your wishlist by navigating to the page created in step 3.

Demo Shopify Store

Notes

  • This wishlist uses Javascript and localStorage to save the customer's wishlist on their browser. The localStorage will not persist if the user clears browser storage or browses in incognito mode.
  • As customers browser products and adds them to their wishlist, the script will automatically set any wishlist buttons to active state if the corresponding product is already included in the wishlist.
  • These files come with no styling or structure so that you can customize as needed. This is intended to bring you the base functionality of a wishlist with no frills.
  • If you are working in an unpublished theme, you will need to create the new templates on the published theme as well. The Shopify admin will only allow you to assign a page to a template if the template exists on the published theme.
  • If you are upgrading to the Online Store 2.0 version, you will be required to delete the older .liquid wishlist and product card templates.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].