# Load Design

### Loading a new design

Create a `spectrumLoadProduct` Javascript variable string on the window. We recommend placing this within the `<head>` tag.

```markup
<script type="text/javascript">
window.spectrumLoadProduct = '[SKU]';
</script>
```

### Loading a saved design

Append a [recipe set](/integration/general/glossary.md#recipe) [readable id](/integration/general/glossary.md#readable-id) query string parameter to the URL of the Custom PDP. For example:

```
https://[ecommerce-website]/[custom-pdp]?recipeId=WYWYMS9L
```

Spectrum will use the `recipeId` parameter instead of `spectrumLoadProduct` if both are defined at the same time. At least one is required to load Spectrum.


---

# 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.spectrumcustomizer.com/integration/ecommerce/load-design.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.
