You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To get active season's edit or addon campaign id & customize campaign id:
select campaign_id as addon_or_edit_sale_campaign_id, customize_campaign_id from shop_seasons where position = 1;
To get select (and in the future annual_access_select) role's addon/edit shopping window period:
select title, start_date as select_start_date, select_end_date, regular_start_date, end_date as regular_end_date from shop_addons_campaigns where id = 48;
To get regular (non select) role's shopping window period:
select title, regular_start_date, end_date as regular_end_date from shop_addons_campaigns where id = 48;
To get customize campaign name:
select title from shop_customize_campaigns where id = 17;
////////// addon/edit campaigns //////////
Admin tool url for addon/edit campaign custom content:
1. login as admin in shop
2. go to https://fff-dev.com/wp-admin/admin.php?page=addon-custom-content
3. select campaign name (need to look up the name using id from above query).
Admin tool code for addon/edit campaign custom content: