Barry’s Power Equipment

Setup & help

Shared model and price updates

Admin panel
ONE-TIME SETUP

Connect shared pricing

The quote dashboard and admin panel are included in this ZIP. To share permanent updates across all staff computers, connect one Cloudflare D1 database before uploading the ZIP.

  1. In Cloudflare, open Storage & databases → D1. Create a database named barrys-pricing.

  2. Open your existing Workers & Pages → Pages project → Settings → Bindings. Add a D1 database binding in the Production environment. Set the variable name exactly to PRICING_DB and select barrys-pricing.

  3. In that same Pages project, choose Create a new deployment → Production. Upload this entire ZIP and deploy. The database tables are created automatically; no SQL commands or build step are needed.

  4. Open the site’s normal production address, select Admin panel and sign in with the password supplied with the ZIP. Publish a price change and use Refresh prices on a second computer to confirm it.

If you add or change the binding after deploying, deploy the same ZIP once more so the new binding is applied.

Keep the same bookmarks

Keep using the same Pages project and its permanent project-name.pages.dev address or custom domain. A deployment preview address can point to an older version. You do not need to create a new project or replace staff bookmarks for routine price updates.

Keep this D1 binding on future deployments. The database, published changes and admin password persist independently of the ZIP.

Cloudflare D1 binding instructions · Cloudflare ZIP upload instructions

Refresh prices and page reload

Refresh prices checks published model and price records, recalculates the current quote and shows whether anything changed. It keeps your selected models, promo prices and miscellaneous items. A page reload loads the app version deployed to this same Pages project; it does not install a different ZIP. After uploading an app update, reload the page once to load the new controls. Admin opens at /admin.


QUOTE-ONLY EXTRAS

Promo price & miscellaneous


DAILY USE

Update models & prices

Scope

This panel manages models, MSRP, sale price, dealer cost, published fleet amounts, rebates and model validity dates. The existing tax, fleet qualification and Sheffield / Synchrony program rules remain the dashboard’s pricing authority. Lender promotion changes require a program update to the app.