> For the complete documentation index, see [llms.txt](https://www.locksmith.guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.locksmith.guide/tutorials/more/creating-weekly-schedules.md).

# Creating weekly schedules

## Creating the lock

You can add this to any lock type including your entire store, or a lock on a specific product, collection, page, etc. To create a lock on your entire store, for example, choose that from the list:

<figure><img src="/files/C1wM3uI1oJaXhuaHO6KQ" alt=""><figcaption></figcaption></figure>

## Adding the schedule

On the lock page, after creating a key, choose the 'weekly schedule' key condition. You can start to type "weekly" or "schedule" to narrow down the list quickly:

<figure><img src="/files/71Ylv70FjGjlkAacKCYn" alt=""><figcaption></figcaption></figure>

From there, setting up the schedule should be intuitive. You'll see a section for each day, and you'll be able to add as many time periods for each day as you need, in case your opening hours are not sequential.

{% hint style="info" %}
This condition *always* uses the time zone setting for your store. There is not a way to edit this in Locksmith. If you want to change which time zone is used, you'll need to [change the time zone for your store](https://help.shopify.com/en/manual/intro-to-shopify/initial-setup/setup-business-settings#set-or-change-your-store-time-zone).
{% endhint %}

## Special dates

If you have different hours on specific dates, you can add those as well in the "Special dates" section.

<figure><img src="/files/8qLOkGRLD3xJoN3GgkJJ" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Adding no time periods to a day of the week or a special date means the schedule is set to close on that day.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.locksmith.guide/tutorials/more/creating-weekly-schedules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
