Can your plugin limit a user’s purchase to one of each product?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101007
    Jean
    Guest

    Hello,

    I have a client who has 2 types of products:

    1. People can buy as many as they want.
    2. People can only buy 1 of each of these.

    Will your plugin handle this?

    Thanks,
    Jean

    #101008
    Moshtafizur
    Moderator
    Plugin Support

    Hello Jean,

    Thanks for reaching out.

    Yes, it is possible with our Maximum Products per User for WooCommerce. To do this, please follow the general steps below:

    1. At first, navigate to WooCommerce > Settings> Maximum Products per User> General and set Mode to Product quantitiesDate range to Lifetime and the Order statuses to appropriate order statuses.

    2. Then go to the Guests section, and set Guests option to Identify guests by IP address. Then the limit will be applicable to your guest users also.

    3. Next go to the Limits section and enable the Per product option.

    4. Finally, go to the Formula section, and enable the Limits by formula option and paste a shortcode in the Formula field, such as:

    [alg_wc_mppu product_id= "10, 20, 30" limit="1"]

    In this  shortcode, you just need to update the product_id attribute.

    A consumer will then be allowed to make as many purchases of other products as they would like with such an arrangement.

    I hope that helps. If you have any other questions or need assistance, then please let us know.

    Kind regards,
    Moshtafizur

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