Foundry
Loading preview…

Home — Photo collage hero, bake times, bestsellers, story, cakes, reviews and both shops.

Every page, and what’s in it

  • HomePhoto collage hero, bake times, bestsellers, story, cakes, reviews and both shops.
  • Order aheadProducts by category, a basket and pickup by shop, day and time.
  • Celebration cakesSize, flavour, extras and a message, with a live price.
  • Our bakeriesBoth shops with open-now status, the bakers, a wholesale form and FAQ.

What’s included

  • Order-ahead basket saved in the browser
  • Pickup days and times built from each shop's hours
  • Celebration cake builder with live pricing
  • Open-now status for two locations
  • Wholesale enquiry form
  • Real photography, credited (CC BY 2.0)

Getting it running

Unzip the folder and run:

Open index.html

The download is the complete, unminified source with a README and the licence. Guides for every host, from Netlify to Shopify

DocumentationThe full README that comes in the download. Read it before you buy.

A warm, photo-led site for a bakery or café that takes orders for collection: a product list with categories and a basket, pickup by shop, day and time, a celebration-cake order form that prices itself, and two shop pages with live opening hours.

Files

index.html       Hero collage, bake times, bestsellers, story, cakes, reviews, shops
order.html       Order ahead: categories, products, basket, pickup shop/day/time
cakes.html       Celebration cake builder: size, flavour, extras, message, live price
visit.html       Both bakeries with hours, the bakers, wholesale enquiry, FAQ
credits.html     Photo credits (keep this if you keep the photos)
assets/style.css All styling; theme tokens (colours, fonts) at the top
assets/app.js    Hours, basket, pickup times, cake pricing and forms
assets/img/      Photographs, plus credits.json

No build step. Open index.html, or upload the folder to any static host.

Opening hours

At the top of assets/app.js, one line per shop, Sunday first:

"Market Street": [[8, 14], [null], [7.5, 17], …],

Each pair is open and close in decimal hours (7.5 is 7.30am); [null] is a closed day. These drive the "Open now" pills, the hours lists, the pickup days offered (closed days are skipped) and the pickup times. If you rename a shop, rename it in the <select> options and the data-shop attributes too.

Products and prices

Products on order.html are plain HTML:

<article class="product" data-product="focaccia" data-type="bread"
         data-name="Rosemary focaccia" data-price="420">
  • data-price is in pence (420 is £4.20). Keep the price you show in step.
  • data-type is the category tab it appears under (bread, pastry, sweet, coffee); add a tab button with a matching data-cat for a new one.
  • "Add" buttons anywhere on the site (the home page has three) use data-add with the same id, and fill the same basket.

The basket is saved in the visitor's browser, so it survives page changes.

Taking orders for real

The order form validates and confirms but doesn't send anything. Two easy routes:

  • Point the form at a form service (Formspree, Basin, Netlify Forms) and include the basket in a hidden field, so orders arrive by email.
  • Or keep the pages and swap the basket for your online-ordering provider's link or widget (Square, Shopify, Toast and others provide one).

Cakes

Sizes, flavours and extras are radio buttons and checkboxes in cakes.html. Prices come from data-price (sizes) and data-extra (everything else), in pence. The form insists on three days' notice; change that in the cakes section of assets/app.js.

Photo credits

The photographs are licensed CC BY 2.0: you can use them commercially as long as the photographers are credited. credits.html, linked in every footer, does that. Swap in photos of your own bakes whenever you can.

Reviews

No reviews yet. Only verified buyers can review.