Why is the limit not working for guest customers?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100828
    Peter Houtman
    Participant

    Hi there,

    I have the possibility to order a sample version of my product. I share a link that with potential customers where they find a pre-filled cart with the free sample. They only pay the shipping.

    This sample is a product in my Woocommerce. I want to add a limit for 1 sample per customer, so only 1 sample per address and IP adddress can be ordered. Untill this point unfortunately i didnt succeed in doing so. I was able to order multiple samples myself.

    When customer is on checkout page and the system detects that the address or IP address is already used, i want to redirect the customer to another page.

    How do i do this?

    #100829
    Zohaib
    Participant

    Hi,

    I assume you are allowing guests to checkout without creating an account hence requesting for tracking by IP address?

    Here are the steps you will need to follow in order to set this up, In the plugin’s settings

    General > Mode > Product Quantitites 
    General > Date range > Lifetime (Or as per your requirement)
    General > Order statuses > Select the relevant order statuses
    General > Guests > Identify Guests by IP
    General > Block guests from buying products > Block Method > According to limit options
    Limits > Per product > Enable

    Then edit the sample product and you will find a new field for maximum products per user. Set this as 1

    You can configure if you want to display the limit exceeded message on the product page or cart page from the Frontend tab.

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