Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31 Mar 2021 05:49 PM by  Albert Frausto
How to Limit One Order Per Day
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:29
New Member


--
30 Mar 2021 11:55 PM

    Hello,

    All users must log in before they can place an order. Is there an easy way to limit one order per day per customer?

    Thanks

    0


    Veteran Member


    Posts:2937
    Veteran Member


    --
    31 Mar 2021 12:02 AM

    Hi Albert

    One way is to grant a role that automatically expires after 24 hours. In the Configuration > Checkout, you want to use an Availability rule to check if the user has this role and deny the checkout.

    Similarly, you want to grant a role with an expiration in the Place order action rule under Configuration > Checkout. Take a look at this link on how to assign a role.

    I hope this helps. 

    0


    New Member


    Posts:29
    New Member


    --
    31 Mar 2021 05:40 PM

    Hello Steve,

    Thanks for the suggestion. We currently have an availability rule, but we're not sure how to add a second rule to our existing one. Can you show us how that is done. This is what we currently have under the Availabilty tab.






    false
    true







    We appreciate the help.

    0


    New Member


    Posts:29
    New Member


    --
    31 Mar 2021 05:41 PM
    Here's the code again.
    
    
    
    
    
    false
    true
    
    
    
    
    
    
    
    
    0


    New Member


    Posts:29
    New Member


    --
    31 Mar 2021 05:49 PM
    Sorry Steve. It appears the XSLT code gets removed. Here's a screenshot: https://www.screencast.com/t/NwyWVr2c1j
    0
    You are not authorized to post a reply.