# How to change the price of a service based on the meeting duration?

{% hint style="info" %}
This is perfect if you have a service that has multiple meeting durations (the length of the time slot) and each duration has unique pricing.
{% endhint %}

What if you wanted to offer a service which offers different amount of durations (1 Hour, 2 Hours, 3 hours, etc) each with different pricing?

The important thing to understand is that for each duration to have a unique pricing you will need to create variants to represent each duration and will need to create a unique service for each variant.

{% hint style="info" %}
This will not work if you put all variants inside of one service like in the screenshot below. This is because the app will not know assign the meeting duration to the variant properly and instead will have the meeting durations inside of the calendar.
{% endhint %}

### What not to do!

<figure><img src="/files/1PDXGVGiytEvK0y8fMEN" alt=""><figcaption><p> If you want unique pricing per variant do not set all variants under 1 service</p></figcaption></figure>

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

{% hint style="warning" %}
If you set it up like the screenshots above you will have a service that yes will have different meeting duration options inside of the calendar BUT the app will not properly assign the pricing of each duration&#x20;
{% endhint %}

### Steps to create a service with multiple meeting duration each with unique pricing

1. In your Shopify admin dashboard Look at the left hand side.
2. Click on **products**.
3. **Select the product** you wish to modify.

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

4. Scroll down to **Variants** and click "+ Add options like size or color."
5. Enter an **option name**, for example, 'Duration'
6. Specify the **option values and price for each variant** such as '1 hour,' '2 hours,' and so on.
7. **Save** your changes.

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

8. Back in your shopify admin dashboard look at the left panel and click on **Apps.**
9. Click on Cowlendar and then Click on **My Services.**
10. Click on **New service.**

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

11. When selecting the product **only connect it to 1 variant,** for our example we could have clicked "1 hour".

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

12. Make sure that the **service duration when creating that service matches the duration of the Shopify variant** you just selected.

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

13. **Repeat this process** for each service duration you have set up as a variant in Shopify.&#x20;

{% hint style="info" %}
Tip: once you've created your first service, you can simply duplicate it so you don't have to start from scratch again. To do that click on **My services** then find the service you want to duplicate and click on the 3 little dots, then click on duplicate. See the guide below for more information
{% endhint %}

{% content-ref url="/pages/hZhsAj1TCYi92x1keVY7" %}
[Bulk Editing](/cowlendar-help/missing-features/bulk-editing.md)
{% endcontent-ref %}

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


---

# Agent Instructions: 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:

```
GET https://penida.gitbook.io/cowlendar-help/how-to.../how-to-change-the-price-of-a-service-based-on-the-meeting-duration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
