Modular Pricing Calculator
wordpress plugin for a doggy daycare pricing calculator
by Johannes Gemürr and Claude. Mainly Claude. · github.com/gemuerr/modular-pricing-calculator · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/gemuerr/modular-pricing-calculator/archive/refs/heads/main.zipWordPress plugin that lets dog daycare businesses provide an interactive calculator so prospects can configure weekly care subscriptions (model, half/full day, days per week) and submit a request that is saved in WordPress and emailed to the business.
Features
- Configurable pricing tables for two subscription models (half/full day, 1‑5 days per week)
- Inline-validated frontend form with accordion or always-open layout
- Optional two-step flow that separates price selection (Step A) from contact capture (Step B)
- Optional reCAPTCHA v2 spam protection
- Saves submissions to
wp_pricing_configurationsand sends plain-text notification email - Gutenberg block and shortcode support for easy embedding
Installation
- Upload the
modular-pricing-calculatorfolder towp-content/plugins/. - Activate Modular Pricing Calculator in the WordPress admin.
- Visit Modular Pricing → Modular Pricing to configure pricing, colors, email target, and optional reCAPTCHA.
Usage
Shortcode
Add the calculator into any post or page:
[pricing_calculator]
Gutenberg Block
Insert the block Modular Pricing Calculator from the Widgets category to render the same form.
Admin Pages
Modular Pricing → Modular Pricing: plugin settings (pricing, colors, display mode, step mode, notification email, reCAPTCHA keys).Modular Pricing → Submitted Forms: latest submissions stored in the custom table with status management and bulk delete functionality.
Configurable Step Flow
- In Modular Pricing → Modular Pricing you can choose between
Single step(legacy combined form) andTwo steps, which breaks the experience into:- Step A: Pricing choices (model, duration, weekdays) and live monthly calculation.
- Step B: Contact, dog info, and notes, plus a recap of the selections from Step A.
- Switching modes requires no shortcode changes—the front-end updates automatically.
Email Notifications
Each valid submission sends a plain-text email containing contact details, care preferences, selected weekdays, monthly price, notes, and timestamp to the configured notification address.
Database
On activation the plugin creates wp_pricing_configurations (table name respects the site prefix) with columns for name, contact info, subscription selection, price, notes, status, and submission timestamp. The status field defaults to "Neu" and can be updated to track the progress of each submission.