Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/derrmru/surgery-quote-generator/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Surgery Quote Generator
A surgery quote generator built as a Wordpress plugin using React JS. Makes use of my React Wordpress Plugin Boilerplate.
Functionality
The plugin registers a Wordpress Short Code that can be included in any post or page. The short code accepts two attributes:
1. surgerytype - this is passed to the React App to determine the steps taken to generate a quote.
2. color - this updates the styling to conform with clients primary brand color
Based on the surgery type it receives the Application prompts the user for information and calls a database for quote data, which is then displayed as a price guide to the user.