How can I limit a logged-in user’s purchase to one order only?

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce How can I limit a logged-in user’s purchase to one order only?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #100834
    Harm
    Guest

    Hi there,

    Just a pre sale question; Is it possible to limit the amount of orders a logged user can make?

    we want to limit every logged in user to only able to order once.

    Is that possible?

    #100835
    Zohaib
    Participant

    Hi,

    Do you mean, if a user is logged in, he can for example only place one order? If he logs out and logs in again he can then place say another order, or as per the limit options? Unfortunately, it is not possible to limit the order based on a user’s login.

    It is possible to limit the orders for both registered users and guests. You can also specify a time range for the order limits.

    #100836
    Pablo
    Moderator
    Plugin Support

    Hi Harm,

    Sorry for the long delay. Actually, I think we might have understood your question in a way more complex than necessary.

    So, answering your question again, yes. It’s possible to limit the amount of orders a logged user can make. This would be a possible setup:

    – Set “General > Mode” as “Product orders”.
    – Set “Date range” as “Lifetime”.
    – Enable “Limits > Per product tag”.
    – Set all your products with the same tag and take note of the tag id. Let’s say the tag ID is 99.
    – Enable “Formula > Limits by formula”.
    – Set your formula as:

    [alg_wc_mppu term_id="99" limit="1"]

    – Run “Tools > Delete & recalculate sales data”.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.