Hi everyone,
I’m looking for a way to hide a product for 5 minutes after it’s added to the cart on my Shopify store. The goal is to prevent multiple customers from adding the same product to their carts immediately after it’s been added by someone else, specifically for products in the “ABC” collection.
Here’s what I’m trying to achieve
When a product from the “ABC” collection is added to the cart, I want to temporarily hide that product from the store for 5 minutes, so only the customer who added it to their cart can proceed with the purchase.
This is important because the “ABC” collection contains only one piece of each product, and I want to avoid multiple customers placing orders for the same item at the same time.
After 5 minutes, the product should be available again for other customers to purchase if the first customer don’t proceed with the purchase.
Would anyone have a solution for achieving this?
I’m open to using Liquid, JavaScript, or any Shopify apps that could help with this functionality.