• Resolved swaites

    (@swaites)


    Hello everyone!

    I’m about to release a bunch of new products tomorrow! The products are such that there’s only one in stock of each (they’re book covers).

    But in one of my prior product releases, I had multiple customers add the same item to their cart. Then one would manage to successfully check out, and the other would get an error message.

    Is there a way I can limit things so that only one customer can add a product to their cart at a time? But where if they decide not to purchase it won’t be perpetually out of stock because it’s sitting in their cart?

    I’ve tried searching for solutions, but I don’t think I’m using the right keywords, so any advice would be appreciated!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Stef

    (@serafinnyc)

    You could use something like a “Min/Max”. Either applied to all or on each product individually.

    Min Max

    Free version may work too

    • This reply was modified 4 years ago by Stef.
    hh100

    (@hh100)

    It’s a standard option on the product page.

    Thread Starter swaites

    (@swaites)

    @hh100 Where is it listed on the product page? I don’t see anything that would fix it.

    I always have “sold individually” checked and only one of the product in stock.

    Thread Starter swaites

    (@swaites)

    @serafinnyc

    This is only going to be a problem for maybe… ten minutes, three times a year. I’m not sure I want to pay $29 for that. I’m also not clear that Min/Max would solve this?

    Stef

    (@serafinnyc)

    @swaites understood. Those two are the only ones I know of and we use them on my wife’s sites all the time. Otherwise you’d need to add some custom code.

    Unfortunately, @hh100 is incorrect, it is not native to WC. It may be to certain themes, but that would be the first I’m hearing of it. I’ll ask the team on slack. I have been away for awhile.

    hh100

    (@hh100)

    Woocommerce dashboard > product page > [any product in your inventory] > [scroll down] inventory > tick “Enable this to only allow one of this item to be bought in a single order”.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @swaites,

    Note that, by default, stock is reduced when an order is set to completed status or on hold status as explained here. This works on a first-come-first-serve principle. Thus, if you only have 1 item in stock, the first order for that product to attain the completed or on-hold status ‘takes’ that available item.

    However, there are plugins that can reserve stock when a product is added to cart such as https://puri.io/plugin/reserved-stock-pro-for-woocommerce/

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers! ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Preventing customers from adding same item to cart?’ is closed to new replies.