In this article, we'll show you how to use the Shopify app "Locksmith" to automatically hide product pages at a specified date and time.
There is a lot of information on how to automatically publish product pages, but I can't find a way to automatically hide them. This information is useful for those who are in the same situation.
table of contents
1. What I want to achieve
Automatically hide product pages at a specified date and time.
2. Methods
Use the app " Locksmith ".
Usage fee: from $9/month (※)
*Prices vary depending on your Shopify plan.
3. Procedure
1). Install Locksmith
① Search for “Locksmith” in the Shopify App Store .
②Click "Add App" in Locksmith to install it.
2). Locksmith settings
①Select "Locksmith" using one of the following methods:
・Administrative screen "Apps" → Locksmith
・Go to "Settings" at the bottom left of the admin screen → Apps and Sales Channels → Locksmith
②Search for the product you want to set in the “Add Lock” search bar and click on the target product.

③Check "Enable this lock" and click the "Create lock" button.

④Click the “Add the first key” button and select “is visiting before a certain date and time”.

⑤Set the date and time you want to make the post private.

⑥Check the following two items, confirm that the date and time are set in ⑤, then click "Save".
- Hide any links to this product
- Hide this product

This completes the setup.
4. Operation
When the specified date and time arrives, the following will happen:
Displaying the top page and collection pages

When you access the URL of a product page

5. Supplementary Information
If it is not hidden
Depending on your theme, you might not be able to hide the product grid on your homepage or collection pages.
The following were not hidden in Implusse 5.4.0:
・Collection page ・Search results
In that case, contact Locksmith and they will fix the code for you.