Discount Configuration for ReDi Restaurant Reservation plugin
Table of Contents |
---|
Install ReDi Restaurant Reservation + the Discount plugin addon.
The plugin is provided as a Zip file.
Deactivate ReDi Restaurant Reservation plugin then Delete it Add a new plugin and upload a Zip file.
Activate Upload it and activate the plugin.
...
Install additional plugin
Custom Post Types Make Type Maker Plugin needs to be installed https://wordpress.org/plugins/custom-post-typestype-maker/ and activated.
Create a new custom post type
A new custom type ‘discount’ must be created.
...
To Create a new Discount and press ‘Add New’ Fill Titleand fill title:
...
Custom fields should be filled.
discount - the amount of discount (Required for all).
class - what CSS style to apply to the time button
weight - weight of the discount. If there are multiple discounts found for at the same time , it will be taken to decide which one to takeapply.
One of discount type date, time, dayofweek, month.
...
Date | Time | Dayofweek | Month | |
---|---|---|---|---|
Format | DD.MM.YYYY | HH:MM | sunday | January February March April May June July August September October November December |
Example | 31.12.2020 | 12:30 | monday | May, August |
And Press ‘Publish’.
Test plugin
Select desired data and you should see Discount % on available time Discount % is added to the Comments field for reservation.
...