...
WordPress Integration
Make sure that in supports support list field of the Custom Fields is checked [x].
...
To Create a new Discount and press ‘Add New’ Fill Title:
...
Custom fields should be filled.
Discount discount - the amount of discount (Required for all).
class - what style to apply to the time button
weight - weight of the discount. If there are multiple discounts found for the same time, which one to take.
One of discount type date, time, dayofweek, month.
month filed can be single or multiple, separated with ','
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
...