# Add purpose to Shopify consent notice

In order to successfully display a Didomi consent notice on your organization's Shopify store all consent notice purposes need to be mapped to Shopify consent categories. If a new purpose is added to a consent notice, the new purpose will need to be mapped to the Shopify consent category. In this article, we will cover the experience of adding a purpose to a Shopify consent notice.

{% hint style="info" %}
Didomi automatically maps IAB purposes to Shopify consent categories by default. [Click here](/integrations/content-management-system-cms/shopify-beta/shopify-default-mapping.md) for more information.&#x20;

Any custom or global purposes added to a Shopify consent notice will need to be mapped manually
{% endhint %}

To start, click **Consent notice** on the left-hand panel and select the consent notice that is deployed on your Shopify store.

<figure><img src="/files/UyIasPIs8GPrdyR9NoT5" alt="" width="563"><figcaption></figcaption></figure>

Ensure the **Regulations** tab is selected and click **Edit Vendors & Purposes** inline with a regulation for which a new purpose will be added.

<figure><img src="/files/8pAXJmtQn8SHywldO3pX" alt="" width="563"><figcaption></figcaption></figure>

In the example below, we are using the **Vendors** section of the subsequent page to add a new vendor (**CustomVendor**) to the regulation. The newly added vendor will add the purpose **AB testing**.

Click **Save** when finished.

<figure><img src="/files/YdNzrfqzYLbly1yrE6JX" alt="" width="563"><figcaption></figcaption></figure>

With a new purpose added to the consent notice, select the **Publish** tab and then click **Publish**.

<figure><img src="/files/vZbAGFIvfADUvuvylubu" alt="" width="563"><figcaption></figcaption></figure>

Confirm the decision to publish the consent notice in the subsequent modal and click **Publish**.&#x20;

<figure><img src="/files/hopcukf0AeB7xXXPigrl" alt="" width="375"><figcaption></figcaption></figure>

If a new purpose was added to the consent notice (and it is deployed to a Shopify store) a secondary modal will inform you of this deployment. Click **Go to Shopify admin** to access the admin view of the Shopify store and continue with the mapping.

<figure><img src="/files/qEbmRjy4P3H9HK1jxvx1" alt="" width="375"><figcaption></figcaption></figure>

From the admin view of your Shopify store, click **Settings** underneath the Didomi app on the left-hand panel.

<figure><img src="/files/JuDxwnNtHg43qBaaPSA8" alt="" width="563"><figcaption></figcaption></figure>

Navigate to the **Purpose mapping** card and locate the newly added purpose on the list. Use the provided field inline with the new purpose to select a Shopify consent category to which it maps.

{% hint style="info" %}
Didomi automatically maps IAB purposes to Shopify consent categories by default. [Click here](/integrations/content-management-system-cms/shopify-beta/shopify-default-mapping.md) for more information.&#x20;

Any custom or global purposes added to a Shopify consent notice will need to be mapped manually
{% endhint %}

<figure><img src="/files/omVg3k9SQZVAzhW8elTn" alt="" width="563"><figcaption></figcaption></figure>

Click **Save** when finished.


---

# 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://docs.didomi.io/integrations/content-management-system-cms/shopify-beta/add-purpose-to-shopify-consent-notice.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.
