How do I setup the plugin if a user role can only purchase three products?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #100515
    Pooyan ausi
    Guest

    Hi
    I want to block the checkout page with message when :

    1-user role A only could only buy maximum 3 products in per month and after that error message be shown

    2- user role A only could buy (for example ) 1000$ for per monthand after that message be shown

    Thanks

    #100516
    WPFactory Plugins
    Participant
    Plugin Author

    Hello Pooyan,

    For the time being, it wouldn’t be possible to use the two methods at the same time.
    We have a Mode option that allows limiting by product quantity, price and weight.

    Product quantities would satisfy your question 1
    Product prices would satisfy your question 2

    Finally, you could use our Date range option and set it as “Last 30 days”

    #100517
    Simin Assi
    Participant

    hi
    please give me a formula

    user role A only can buy 5 products to date : 12-10-2021

    #100518
    WPFactory Plugins
    Participant
    Plugin Author

    Hi,

    This would be the formula:

    [alg_wc_mppu limit="5" user_role="role_a" end_date="2021-10-12"]
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.