user can by only one product variation for a lifetime

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce user can by only one product variation for a lifetime

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #137146
    Ewa Neumann
    Participant

    Hi, I have a products with 2 variations, I would like the user to be able to buy just one variation of the product ever in a lifetime. I set up in product settings:

    Sold individually-Limit purchases to 1 item per order

    Apply “Sold individually” to variations – Enable this to only allow one of this product, even if it’s a different variation, to be bought in a single order.

    And it works – user can by just one products’ variation within the session. But in the next session the same user is able to buy again the same product. How to manage it?

    How can I manage that user will be able to buy the product just once? how the system will recognize that the user purchased the product already? By IP (what about users with dynamic IP)? or address? or card details?

    #137181
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    Thanks for reaching out.

    The plugin can limit user purchases by user account ID and IP address. But at first, could you please let us know if you are having issues with the guest users, or do you also want to impose a limit on registered users?

    Kind regards.

    #137212
    Ewa Neumann
    Participant

    Hi, I’ve managed to set up the guest users and limit purchases to one by a user. But it doesn’t work with variations. I am still able as a logged in user to buy the variation nr 1 of the product and then add to cart variation nr 2 of the same product. I need the limitation to work on the whole product – if I buy variation nr 1 of the product I should not be able to buy variation nr 2 of the same product..

    Any help much appreciated.

    Thank you

    Ewa

    #137399
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    I hope you are well today.

    I believe I have identified a solution that should resolve your issue. In our plugin settings, specifically under the General section, please disable the Use variations option. This adjustment should help enforce the restriction you require, allowing users to purchase only one variation of the product.

    Please give it a try. Let us know if you face any issues.

    Kind regards.

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