How to temporarily Hide Product for 5 Minutes After Being Added to Cart

Topic summary

A store owner seeks to temporarily hide products from the “ABC” collection for 5 minutes after being added to cart. The goal is to prevent multiple customers from simultaneously purchasing the same item, as each product in this collection has only one piece available.

Desired functionality:

  • Product becomes hidden store-wide for 5 minutes once added to cart
  • Only the customer who added it can proceed with purchase during this window
  • Product automatically becomes visible again after 5 minutes if purchase isn’t completed

Current status:

  • A responder indicates this requires advanced theme customization or potentially custom app development, beyond standard forum support scope
  • The store owner is considering professional development services
  • Store remains in development phase

Discussion remains open with no technical solution provided yet.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

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.

Hi @saadkhaan that is an advanced theme customization beyond the scope of the forums; and may require custom app development depending on deeper details.

If you need this customization , or process built, then contact me for services.
Contact info in FORUM SIGNATURE.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Hey Paul,

Thank you for suggestion, I will check with the team and get back to you if required.

The store is still in development hence, I couldn’t provide the URL.

Thanking you