# Custom code

Use our **Custom code** block for older app integrations or to add your HTML, Liquid, or other specific code directly into the product pages section.

<figure><img src="/files/KyDZYoyFEzSn2IQxZJiI" alt="GIF depicting the Custom code block of the product pages section"><figcaption></figcaption></figure>

<table><thead><tr><th width="128.6788330078125">Settings</th><th width="96.421875" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Custom code</td><td align="center"><code>liquid</code></td><td>A field to enter custom Liquid or HTML code. Ideal for app snippets, tracking tags, or unique widgets.</td></tr><tr><td><strong>Padding</strong></td><td align="center"></td><td></td></tr><tr><td>Bottom</td><td align="center"><code>range</code></td><td>Controls spacing below the block.</td></tr></tbody></table>

## Notes

* This block accepts Liquid code, which is Shopify’s templating language.
* &#x20;Use responsibly—invalid code can impact page layout or performance.
* Useful for: App integrations (e.g., reviews, upsells); Custom display logic; Embedding third-party tools or tracking
* Be cautious with untested or unverified scripts, as errors in Liquid or JavaScript can cause frontend issues.


---

# 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/product-theme-blocks/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.
