View Categories

How to Handle Guest Purchase Limits in WooCommerce

Controlling limits for guest (non-logged-in) customers #

If your store allows guest checkout, Maximum Products per User for WooCommerce lets you decide how limits apply to shoppers who are not signed in. Choosing the guest mode is free; the advanced blocking sub-options (block method, custom add to cart text, redirect) are Pro.

Guest users options in Maximum Products per User: how guests are tracked or blocked

Where to find it #

Go to WPFactory > Max Products per User (also reachable at WooCommerce > Settings > Maximum Products per User), then open the Guests section.

Guest handling modes #

The Guests setting (alg_wc_mppu_block_guests, default “Do nothing”) offers:

  • Do nothing (do not track guests sales): guests are ignored and can bypass limits.
  • Do nothing but block guests from purchasing products beyond the limits: guests are not tracked over time, but they cannot exceed a limit in a single order.
  • Block guests from buying products: guests cannot purchase at all (this is what unlocks the block sub-section below).
  • Identify guests by IP address: tracks guest purchases by IP so limits accumulate.
  • Identify guests by checkout billing email address: tracks by billing email; this only takes effect at checkout.

Block guests from buying products (sub-options) #

These options only apply when Guests is set to Block guests from buying products.

Label Option ID Free/Pro
Block method (All Products / According to limit options) alg_wc_mppu_block_guests_method Pro
Block message alg_wc_mppu_block_guests_message Free
Add to cart text (change button on blocked products/variations) alg_wc_mppu_block_guests_custom_add_to_cart_btn_txt_enable Pro
Add to cart redirect alg_wc_mppu_block_guests_add_to_cart_redirect Pro
Hide products (blocked from guests, from catalog and search) alg_wc_mppu_hide_guest_blocked_products Free

With Block method set to “According to limit options”, you block only products (or terms) that have Block guests ticked on their edit page, so you can block a subset rather than the whole store.

Use cases #

  • Force registration: set Block guests from buying products and show a “Login to purchase” message.
  • Fair guest limits without accounts: use Identify guests by IP address, or by checkout billing email.

Get more control #

Guest tracking modes and the block message are free. The block method, custom add to cart text and add to cart redirect are Pro features of Maximum Products per User for WooCommerce. Get Maximum Products per User Pro.

 

Maximum Products per User for WooCommerce