# Custom code

Insert Liquid or app snippet code for advanced custom functionality in the cart drawer.

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

<table><thead><tr><th width="145.78814697265625">Settings</th><th width="129.11627197265625" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Custom code</td><td align="center"><code>liquid</code></td><td>Add custom Liquid code or app snippets for advanced customization.</td></tr><tr><td>Pin to bottom</td><td align="center"><code>checkbox</code></td><td>Pin this custom block to the bottom of the drawer.</td></tr></tbody></table>


---

# 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://broadcast.presidiocreative.com/overlay/cart-drawer/custom-code.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.
