WPCafe Addon for WCFM

Description

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:

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
tools/ — build helpers required by webpack.config.js

Build configuration:
package.json — dependencies
webpack.config.js, postcss.config.js, tailwind.config.js, tsconfig.json

To rebuild, from the plugin directory:

  1. npm install
  2. npm run minify

That compiles assets/src/ and writes the files below to assets/build/, overwriting the versions shipped here:

assets/build/js/dashboard.js
assets/build/js/i18n-loader.js
assets/build/chunks/js/*.js
assets/build/css/admin.css
assets/build/admin-rtl.css

(npm run build does the same, then regenerates languages/wpcafe-addon-for-wcfm.pot and packages a release zip. The zip step uses a Gruntfile that is not part of the released plugin, so use npm run minify to reproduce the compiled assets.)

Installation

  1. Install and activate WPCafe and WCFM – WooCommerce Multivendor Marketplace first.
  2. Upload and activate this addon.
  3. Vendors will see a new “Restaurant Menu” tab on their store page, and food settings inside their WCFM dashboard.

FAQ

Does this work without WCFM?

No. This addon only adds functionality on top of an existing WCFM Marketplace store.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“WPCafe Addon for WCFM” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.