Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/holiday promotion #999

Merged
merged 5 commits into from
Dec 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 6 additions & 22 deletions includes/Admin/LimitedTimePromotion.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,12 @@ public function show_promotions() {

$notices = [
[
'key' => 'early-bird-black-friday-2020',
'start_date' => '2020-11-23 09:00:00 EST',
'end_date' => '2020-11-23 13:59:00 EST',
'title' => 'Enjoy Flat 50% OFF on Dokan.',
'content' => 'Get Your Early Bird Black Friday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan',
],
[
'key' => 'black-friday-2020',
'start_date' => '2020-11-23 14:00:00 EST',
'end_date' => '2020-11-27 23:59:00 EST',
'title' => 'Enjoy Up To 60% OFF on Dokan.',
'content' => 'Get Your Black Friday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan',
],
[
'key' => 'cyber-monday-2020',
'start_date' => '2020-11-28 00:00:00 EST',
'end_date' => '2020-12-04 23:59:00 EST',
'title' => 'Enjoy Up To 60% OFF on Dokan.',
'content' => 'Get Your Cyber Monday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan',
'key' => 'holiday-2020',
'start_date' => '2020-12-22 09:00:00 EST',
'end_date' => '2021-01-08 23:59:00 EST',
'title' => 'Enjoy Up To 60% OFF on Dokan Pro.',
'content' => 'Get Your Holiday Deals Now.',
'link' => 'https://wedevs.com/dokan/pricing?utm_medium=text&utm_source=wordpress-dokan-holidays',
],
];

Expand Down