A standalone WooCommerce plugin for Swirepay's demo environment.
This plugin provides a comprehensive solution for restaurant management within a WooCommerce environment. It includes features such as table reservations, menu modifiers, time-based menus, and seamless integration with Swirepay for payment processing.
- Table Reservations: Allow customers to book tables directly from the website.
- Menu Modifiers: Customize menu items with single or multi-select options.
- Time-Based Menus: Automatically switch between different menus (e.g., breakfast, lunch, dinner) based on the time of day.
- Tipping Support: Enable customers to add a tip to their order during checkout.
- Delivery/Takeout Toggle: Let customers choose between delivery and takeout options.
- Swirepay Integration: Process payments securely through Swirepay's API.
- WordPress 5.0 or higher
- WooCommerce 7.0 or higher
- PHP 8.0 or higher
- Download the plugin ZIP file (
swirepay-restaurant-manager.zip). - Log in to your WordPress admin area and navigate to Plugins > Add New.
- Click on the Upload Plugin button and select the downloaded ZIP file.
- Activate the plugin through the Plugins menu in WordPress.
- Configure the plugin settings by navigating to WooCommerce > Settings > Swirepay Restaurant.
- Go to Tables > Add New to create a new table.
- Enter a title for the table (e.g., "Table 1").
- Enter the capacity of the table in the Table Data meta box.
- Set the status of the table to "Available" or "Unavailable".
- Click Publish.
- Create a new page and add the
[srm_reservation_form]shortcode to it. - Customers can now make reservations from this page.
- You can view and manage reservations from the Reservations menu in the WordPress admin.
- Go to Products > Menus to create a new menu.
- Enter a name for the menu (e.g., "Breakfast").
- Set the start and end times for the menu.
- Go to a product and assign it to the menu.
-
Create Modifier Groups:
- Go to Products > Modifier Groups.
- Enter a name for the group (e.g., "Spice Level", "Add-ons").
- Click Add New Modifier Group.
-
Create Modifiers:
- Go to Tables > Modifiers.
- Click Add New.
- Enter a name for the modifier (e.g., "Mild", "Medium", "Hot").
- Enter a price for the modifier in the Modifier Data meta box (optional).
- Select a Modifier Group for the modifier.
- Click Publish.
-
Associate Modifier Groups with Products:
- Go to a product and edit it.
- In the Product Modifiers meta box, select the modifier groups that you want to associate with the product.
- Click Update.
- Go to WooCommerce > Settings > Payments.
- Enable the Swirepay payment method.
- Enter your Swirepay API key and secret.
- Click Save changes.
You can import the sample data by going to Tools > Import and selecting the WordPress importer. Upload the sample-data.xml file to import the sample tables, menus, modifiers, and products.