Surgery Quote Generator
Embed Create React App in Wordpress via plugin. Included inline using short code.
by Peter Sweeney · github.com/derrmru/surgery-quote-generator · website
★ 1stars
0forks
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/derrmru/surgery-quote-generator/archive/refs/heads/main.zipFrom the readme
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.