Skip to content

WebOrigami/cat-prints-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project shows the use of the Origami site design language to create a simple static website with an online store.

There are a number of online store service providers that allow static site authors to add commerce features. This demo uses Snipcart, which is comparatively easy to set up and has a low sales commission. (As of late 2023, the commission was 2%.) The shopping cart is set up in a test mode and won't actually purchase anything. I am not affiliated with Snipcart, nor have I used their product to sell anything online. If you're interested in trying their service, you should evaluate all aspects of it yourself and be sure you understand how their system works.

The overall site structure is defined in src/site.ori, and creates one page in the /prints area for each print defined in the src/prints.yaml data file. Each print page displays the corresponding image.

The script to add shopping cart integration is set up in src/snipcart.orit and uses a public API key.

The public domain cat images come from the United States National Gallery of Art, the Art Institute of Chicago, and Wikimedia Commons.

About

Simple Web Origami site with a store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages