Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
monday
tuesday
wednesday
thursday
friday
saturday

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

...