strangerstudios / sitewide-sales

Run Black Friday, Cyber Monday, or other flash sales on your WordPress-powered eCommerce or membership site with WooCommerce, Easy Digital Downloads, and Paid Memberships Pro.
https://sitewidesales.com
GNU General Public License v3.0
3 stars 6 forks source link

[Feature Request] Automatically change active status sale for upcoming sale. #123

Open andrewlimaza opened 2 years ago

andrewlimaza commented 2 years ago

It'd be neat to automatically set a sales 'active' status for upcoming sales, this helps site owners run their sales fully autonomously and won't need to login to turn their sale on or off.

This might be nice to opt-into to give flexibility and control over to sales as maybe the person doesn't want to automatically turn on a sale for whatever reason (i.e. incomplete sale settings).

An option as post meta could work, such as "Automatically activate sale?" and we can query this when figuring out which sale to automatically activate next.

It should only activate sales if:

Ignore any currently active sales, just so we don't turn off an active sale.