How can i hide soldout products from product page automaticlly?

how can i hide soldout products from product page automaticly ?

Hi @AhmedFathy12 ,

I’m Kate from PageFly - Shopify Landing Page Builder,

There are some ways to help you hide sold out products automatically from your store.

The first solution is to use a 3-rd party app. Several third-party apps can help you with managing your store inventory and my recommendation is an app called Nada: Sort & Hide Out-of-Stock.

Another way is to set automatic collection rules to display only products that are in stock if you are using an automatic collection. To set the inventory stock condition follow these steps:

  1. Go to your Shopify store admin > Products > Collections
  2. Select a particular collection, and in the section Conditions click on Add another condition. (If you don’t see Conditions section that means the collection is not automatic, but manual)
  3. From the drop-down select Inventory stock + is greater than + 0
  4. Click on Save and that’s all. The product will no longer be visible in your collection pages (i.e. yourstore.com/ collections)

I hope it helps. Feel free to reply if you need to discuss anything in detail.

Have a nice day!

Cheers,

Kate | PageFly Team

And you can do this with Flow – free app from Shopify:

You may consider creating a symmetrical flow to automatically publish product when inventory is replenished by using trigger “Product variant is back in stock”. Or may decide to publish manually, just in case.

i need to hide product varient when it is sold out in the product page

it means that all product will be hide but i just need the varient to be hide not all the product

Ah, that’s a quite different thing. Will depend on your theme and how many options your products have.

Hi Ahmed,

If you are looking for a simple, automated solution to keep your collection pages clean, we just launched a dedicated app for this: StockShield.

Unlike Flow (which can be complex to set up) or manual collection rules, StockShield automatically monitors your inventory in real-time.

  • How it works: When a product’s total inventory reaches 0, it automatically switches the product to “Draft” status so it disappears from your site.

  • Restock: As soon as you add stock, it automatically publishes it back to “Active”.

  • Benefit: It prevents customers from clicking on products they can’t buy, improving your conversion rate.

You can try it out here: StockShield - Auto Hide Out of Stock Products | Shopify | Tienda de aplicaciones de Shopify

Hope it helps!