How can I limit the user’s purchases to a certain total price per day?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100421
    Ega
    Guest

    I need to limit the total price per day.
    i.e. user only can buy products with $100 of total price per day.

    can this be done with your plugin?

    #100422
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for the late reply.

    Yes, this can be done with the plugin. What you need to do is:

    1. Set the “Mode” option (in “WooCommerce > Settings > Maximum Products per User > General”) to “Product prices”.

    2. Set the “Date range” option (again in “WooCommerce > Settings > Maximum Products per User”) to “This day” or “Last 24 hours” (depending on which period do you want to check – starting from today’s 00:00, or in trailing 24 hours).

    3. Now if you want the limit to be applied to products total (i.e. different products sum should not exceed $100), you need to use a bit of workaround: you’ll need to assign all your products to some category or tag. After that you need to enable “Per product category” (or “Per product tag”) option in “WooCommerce > Settings > Maximum Products per User > Limits”, and then set “Limit per user” option for that category (or tag) (in “Products > Categories > Your category > Edit”) to the total sum, i.e. 100.

    Hope that helps. Please let me know if you have any questions.

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