About this plugin
WPCafe Addon for WCFM Marketplace connects WPCafe with WCFM Marketplace so each vendor can run their own restaurant menu, food ordering, and receipt printing from their own WCFM vendor dashboard.
Features
- Per-vendor “Restaurant Menu” tab on the vendor store page.
- Vendor food settings (preparing time, delivery time, food location) inside the WCFM dashboard.
- Nutrition & allergen info fields on products.
- Per-vendor delivery location selection at checkout.
- Print receipts for an order from the vendor dashboard, using the WPCafe receipt layout.
Requirements
This is an addon and does nothing on its own. It requires:
- WPCafe
- WCFM – WooCommerce Multivendor Marketplace
Source Code
The vendor-dashboard app is written in React and TypeScript and compiled with webpack via @wordpress/scripts. It ships pre-built so the plugin runs with no build step on the site, and the complete unminified source is included in this plugin, along with everything needed to rebuild the compiled output from it.
Source files:
assets/src/ — the React/TypeScript application
js
Build configuration:
json — dependencies
json
To rebuild, from the plugin directory:
- npm install
- npm run minify
That compiles assets/src/ and writes the files below to assets/build/, overwriting the versions shipped here:
css
pot and packages a release zip. )