SourceWrap

Pizza Cafehouse

A Plain PHP and SQLite pizza ordering site with menu search, size variants, same-day delivery and pickup, guest checkout, and a tabbed admin for orders, stock, CAPTCHA, two-factor sign-in and WhatsApp support.

Description

Pizza Cafehouse

SQLite Buyer Release 1.2.1

A pizza ordering site for restaurants, takeaways and local kitchens. Customers choose their pizza and size, check same-day delivery or pickup availability, and order as guests.

PLAIN PHP SQLITE ENGLISH

From menu to handoff

Let customers choose a size

Shoppers can search and filter the menu, read ingredients and allergens, choose a size and quantity, and see the price before adding a pizza to the basket.

Check coverage before checkout

Set a fee for each postcode or locality code, configure daily delivery and pickup hours, and show customers the applicable fee before they place an order.

Work through orders in Admin

Confirm an order, mark it as preparing and ready, then follow the delivery or pickup workflow. Record payment after handoff. Cancelling an eligible order restores its stock.

Check and back up the database

Database Health reports SQLite checks, shows storage information, downloads a verified snapshot and previews expired throttle entries before removal.

Set up your own store

Try a sample order first

Install the optional demo on an empty store. It adds three sample pizzas with three sizes each, example USD prices and delivery zones, a simulated cutoff, and a sample checkout.

Configure support and admin sign-in

Turn on a WhatsApp link in the storefront footer, configure Google reCAPTCHA v2 for selected forms, and enroll Google Authenticator for administrator sign-in with one-time recovery codes.

Prepare for live orders

Add real pizzas and size stock, set currency and time zone, and enter delivery fees, the pickup address, payment terms and store policies. The Admin screen also controls branding, storefront text, FAQ entries and indexing.

Frequently Asked Questions

Can customers place an order without an account?

Yes. Guest checkout collects contact information and a street address when delivery is selected. The confirmation is available in the same browser session.

How is payment handled?

The store uses pay-on-handoff. Admin records payment received after pickup or delivery. Online payment processing is outside this release.

Does SQLite require a separate database service?

The web installer creates a private SQLite database through PHP PDO SQLite. Hosting must provide the extension and writable private storage.

What does Database Health cleanup remove?

It previews expired login and request throttle entries. Admin confirms their removal. Cleanup keeps orders, products, stock, payments, settings and activation.

Pizza Cafehouse Features

The English storefront, checkout, and Admin features included in the SQLite 1.2.1 release.

Storefront and menu

  • Responsive pizza storefront and menu
  • Pizza search and collection filters
  • Photos, descriptions, ingredients and allergen notes
  • Size variants with serving guidance, pricing and availability
  • Quantity selection and basket updates or removal
  • Store FAQs, policies and contact link

Delivery, pickup and guest checkout

  • Same-day delivery zones and fees by exact postcode or locality code
  • Configurable delivery and pickup hours, cutoff times and time zone
  • Counter pickup with no delivery fee
  • Guest checkout and an order-total breakdown
  • Stock, price and fulfilment checks when placing the order
  • Session-scoped order confirmation and reference

Store administration

  • Create and edit pizzas, upload images and publish or unpublish menu items
  • Manage active sizes, serving guides, prices and stock
  • Filter orders by status and review item and fulfilment details
  • Order status transitions, history and eligible cancellations with stock restoration
  • Record payment received at delivery or pickup
  • Edit store name, hero, logo, favicon, navigation labels, footer and checkout notes
  • Tabbed Store settings & SEO with a separate save per tab
  • Add or remove FAQ entries and delivery zones
  • Delete unreferenced pizzas and size variants, or archive those linked to order history
  • Configurable footer WhatsApp icon, number, label and suggested message
  • Closed, Demo and Live orders modes
  • Optional sample menu and checkout data for an empty store

Setup, search and maintenance

  • Browser installer and first Admin account setup
  • SourceWrap buyer-key activation and Activation Messages
  • Admin sign-in, sign-out and attempt limits
  • Google Authenticator for admin sign-in, with one-time recovery codes
  • Google reCAPTCHA v2 checkbox with a global switch and per-form controls for admin sign-in, checkout and activation
  • SEO title and description, canonical links and configurable indexing
  • XML sitemap and product structured data for eligible live pages
  • SQLite integrity, foreign-key and write checks with storage diagnostics
  • Verified SQLite backup downloads and confirmed cleanup of expired throttle entries

Pizza Cafehouse Hosting Requirements

Install the PHP application on Apache with PDO SQLite and a valid SourceWrap buyer key.

Required hosting components

Web server

Apache 2.4

Enable the packaged .htaccess rules, mod_rewrite and DirectoryIndex. Use HTTPS for hosted setup. Direct localhost HTTP is supported for XAMPP.

Runtime

PHP 8.2 or later

Enable PDO SQLite, Sodium, Fileinfo, Ctype and sessions. For activation, enable cURL or OpenSSL HTTPS streams with a trusted CA store.

Database

SQLite 3.35 or later

Use the SQLite build linked to PHP PDO SQLite. The installer creates the store database.

Private storage

Protected and writable

Allow the PHP account to write to private/storage. Keep Apache access rules in place and leave space for verified backup downloads.

Installation and activation

  1. Place the fresh release at the intended site address and open that address in a browser.
  2. Review the Site address, enter the site name and create the first admin. The app uses this exact address for future visits.
  3. Enter the SourceWrap buyer key for pizza-cafehouse on the activation screen, then sign in with the admin account.

Security and support setup

To enable reCAPTCHA, provide Google reCAPTCHA v2 checkbox keys valid for the installed hostname and allow the server to reach Google over HTTPS. Enroll Google Authenticator in Admin and store the one-time recovery codes safely. For WhatsApp support, enter the store’s number in international format and enable it in the Support tab.

SourceWrap Owner sync

After activation, the release instructs the operator to schedule its Owner sync every minute. Replace the example paths with the host's actual PHP CLI binary and the absolute installation path.

/usr/bin/php /absolute/path/to/store/private/app/sourcewrap/sync.php sync

Set the schedule fields to * * * * *. Check the PHP version with the same CLI binary, then verify the scheduled run in the host's output and review Activation Messages after the seller sends a notice.

Reviews

No reviews yet.