WP Manifestindependent plugin directory
manifest / ecommerce / ingeni-woo-purchase-limits

Ingeni Woo Purchase Limits WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Used in conjunction with Woocommerce. Provides the ability to limit item purchases to specific user roles user over a period of time.

★ 1stars
2023.03latest · 2 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/brucemckinnon/ingeni-woo-purchase-limits/archive/refs/heads/main.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

Used in conjunction with Woocommerce. Provides the ability to limit item purchases to specific user roles user over a period of time. Other user roles may either be blocked from purchase, or allowed to purchase without limitation.

Works with both Simple and Variable products.

Description

    • Used in conjunction with Woocommerce.
    • Limit number of items that can be purchased by a group of users, over a period of time.

Installation

  1. Upload the 'ingeni-woo-purchase-limit’ folder to the '/wp-content/plugins/' directory.

  2. Activate the plugin through the 'Plugins' menu in WordPress.

Frequently Asked Questions

Q - Where are the purchase limit settings?

A - For Simple products, the settings are in the Product Data > Inventory tab. For Variable products, the settings are in the individual Product Data > Variations > Variation panels.

Q - Can you have different purchase limits for individual variations of Variable products?

A - Yes you can - set the rules with the individual variation properties panel.

Q - How do I disable the purchase limits for a specific product?

A - Set the Max Qty to -1 (minus one). This is the default setting.

Q - How can I block a User Role from purchasing a product?

A - Set the Max Qty to 0 (zero) and then set either the required Users Role, or set the role to 'All roles'.

Changelog

v2023.01 - Initial version.

v2023.02 - Now checks for 'completed', 'on hold' and 'processing' order statuses when counting past orders.

v2023.03 - count_past_orders_by_product() - Fixed order status strings - full list at https://woocommerce.wp-a2z.org/oik_api/wc_get_order_statuses/

Releases

2 releases.

Tag
Published
2023.03 latest
Nov 16, 2023 2 years ago
Nov 16, 2023 2 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Ingeni Woo Purchase Limits 2023.03 · audited by WP Registry

No security issues found.

Audited release
2023.03
Findings
none
Worst severity
—
Content hash
c62f313cd50ef3654bead75a…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.