=== Spending Limits for WooCommerce ===
Contributors: wpgenie2, freemius
Donate link: https://wpgenie.org/
Tags: spending spending limits, spending limits for woocommerce, wordpress spending limits, limit spending, checkout limits
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Spending Limits for WooCommerce is an extension for Woocommerce which enables you to limit spending for customer.

== Description ==

Spending Limits for WooCommerce implements speding amount limitations and self lock from purchase features. User can set in My Account limit amount per day, week, month or year. Once user sets limit, they can only reduce it (increase or removing is possible only by shop admin).

Customer can also self lock account from purchase for 1, 4, 12 weeks, 1 year or permanently (shop admin can lift this restriction from wp-admin).

Administrator can edit user's limit or self ban, view list of users on break, view user's limits and there is searchable audit log. All lists can be exported to CSV.

= Support =

You can contact us at our website [wpgenie.org](http://wpgenie.org/) if you have problems or questions.


== Installation ==

= Minimum Requirements =

* WordPress 5.0 or greater
* WooCommerce 5.0 or greater


= Setup =

This section describes how to install OnSale Page for WooCommerce plugin and get it working.

1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Users will now have new entry in My Account called Spending Limits
5. User can set limits on lock out of checkout in My Account > Spending Limits
6. Administrators can see User Spending Limit and Lock Settings on User Profile page
7. Administrators can modify limits and lock period on Edit User Profile page
8. PRO version has option for custom limit period (weeks or days)
9. PRO version has reporting page where you can see locked out users and limits set and CSV export
10. PRO version has audit log page with CSV export


If you have any problems contact us at http://wpgenie.org/




== Frequently Asked Questions ==

= Can user change limit to higher one? =

No, user can only change limit to lower amount. Administrators can edit limit to higher amount. Users need to contact administrator in order to get help with this.

= Can user unlock account by himself? =

No, that is not possible, only Administrators can do that. Users need to contact administrator in order to get help with this.

= What is in PRO version? =

Option for custom limit period (weeks or days), reports pages where you can see list of users with their limits and locked out users. Along these reports there is audit log page. All pages have option to export data to CSV and date range filter. PRO version also comes with premium support.

= Have a question? =

If you want answer here please send us your questions to info@wpgenie.org



== Screenshots ==

1. Spending Limits for WooCommerce My Account entry where user can set limits and lock
2. Options for Administrators in Edit User Profile page in wp-admin
3. PRO feature - Page in wp-admin that shows users on break with export to CSV
4. PRO feature - Page in wp-admin that shows users with limit set and option for CSV export
5. PRO feature - Page in wp-admin with audit logs and option for CSV export

== Changelog ==

= 1.0.7 =
Fatal error

= 1.0.6 =
Fatal error

= 1.0.5 =
Error on checkout
Error message for custom period
Typos

= 1.0.4 =
New PRO feture - Custom limit period (weeks or days)
Typos

= 1.0.3 =
Bug when checking out with free order
Typos

= 1.0.2 =
Range slider bug
Typo
Argument number specifier must be greater than zero

= 1.0.1 =
Freemius SDK update

= 1.0.0 =
Initial release