> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/general-resources/global-commerce/products/base-product-with-variations.md).

# Base product with variants

You can create a product grouping consisting of a base product (parent) and one or more sellable SKU variants (children) of that base product.&#x20;

All variants inherit the common attributes of the base product. Change the appropriate attributes in the variation to make it unique. You can change nearly anything about a variation so that it differs from the base product. But you should only change those settings or attributes that are unique to the variation to reduce operational maintenance.

{% hint style="info" %}
**Note**: A customer cannot add a base product to a cart; they can only add the variant SKUs of that product to a cart. In an online storefront, an interstitial page appears for variants so customers on a Digital River-Hosted store pageThe can choose a product variation. On a Digital River-Hosted store page, the store template automates and controls this behavior.
{% endhint %}

The following image shows an example of a base product with a variant page:

![](/files/-MgvMdad27S_uElPcCRu)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.digitalriver.com/commerce-api/general-resources/global-commerce/products/base-product-with-variations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
