Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

strangerstudios/pmpro-sitewide-sales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Paid Memberships Pro - Sitewide Sales Add On ===
Contributors: strangerstudios, dlparker1005, pbrocks
Tags: paid memberships pro, pmpro, memberships, ecommerce
Requires at least:
Tested up to: 5.4
Stable tag: 1.2.5

Create, manage, and view advanced reports for a sitewide or flash sale on membership (Black Friday or Cyber Monday) using Paid Memberships Pro.

== Description ==

This plugin requires Paid Memberships Pro to function.

The Sitewide Sales Add On allows you to create flash or sitewide sales. A Sitewide Sale CPT allows you to create multiple sales, each with an associated discount code and landing page. The plugin will automatically apply a discount code for users who visit the sale landing page.

The plugin also adds the option to display sitewide page banners to advertise your sale and gives you statistics about the outcome of your sale.

== Installation ==

1. Upload the `pmpro-sitewide-sales` directory to the `/wp-content/plugins/` directory of your site.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Create a new `Sitewide Sale` under `Memberships` > `Sitewide Sales` > `Add New`.

Documentation for additional settings can be found here: https://www.paidmembershipspro.com/add-ons/sitewide-sales/

== Changelog ==
= 1.2.5 - 2020-04-09 =
* BUG FIX: Fixed issue where automatic discount code application may cause error to be shown.
* BUG FIX/ENHANCEMENT: Now adding 'pmpro-checkout' class to body tag on SWS landing pages.

= 1.2.4 - 2019-11-22 =
* BUG FIX: Fixed issue where dates could save incorrectly with WP 5.3+.
* BUG FIX/ENHANCEMENT: Fixed compatibility with PMPro MailChimp.

= 1.2.3 - 2019-04-25 =
* BUG FIX: Fixed issue where Sitewide Sales was removing any previously added custom fields for the PMPro Advanced Settings page and throwing a warning.

= 1.2.2 =
* BUG FIX/EHNANCEMENT: Running wpautop before do_shortcode on the pmpro_sws_banner_content filter.

= 1.2.1 =
* BUG FIX/ENHANCEMENT: Instead of using the_content filters for banner content, we added our own pmpro_sws_banner_content filter and are running wpautop and do_shortcode on it by default.

= 1.2 =
* BUG FIX: Fixed sanitizing and escaping of user input in several places.
* BUG FIX: Fixed notices on the landing page.
* BUG FIX: Fixed bug where Quick Edit was removed from non-sitewide sale CPTs.
* ENHANCEMENT: Sitewide Sale banner titles and content can now include HTML.
* ENHANCEMENT: Added pmpro_sws_before_banner_button hook to add content into banners... above the button. Passes the post ID of the active sitewide sale as a parameter.
* ENHANCEMENT: Added a PMPROSWS_VERSION constant and using it to set the version for CSS and JS assets.

= 1.1.1 =
* BUG FIX: Buy link in bottom banner is fixed now.

= 1.1 = 
* BUG FIX: Render (but keep hidden) the edit code button even if there is no code set for the sale yet.
* BUG FIX: Now correctly passing start and end date to the create discount code ajax.
* BUG FIX: Fixed end date check for banner.
* BUG FIX/ENHANCEMENT: Applying 'the_content' filter to the pre and post sale content
* ENHANCEMENT: Adding new "vintage" template style -- since 2018-11-10;

= 1.0 =
* Initial Release