> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cevoid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Programmatic Market Values

> Set market, currency, and price visibility values for Cevoid UGC widgets in code.

Use programmatic market values when URL-based market detection is not enough. This is an advanced setup path. Start with [Embed Galleries and Cards](./embed) and [Dynamic Galleries](./dynamic-galleries) if you have not embedded widgets yet.

Common cases:

* one URL serves multiple markets, such as US and UK storefronts on the same path
* visitors can change language or currency without a redirect
* development or staging URLs do not match production market URLs

## Set the market

Set `data-market` to the Cevoid market ID that should control widget language, product links, and default currency behavior.

```html theme={"theme":{"light":"github-light","dark":"github-dark"}}
<div id="cevoid-container" data-gallery="GALLERY_ID" data-market="MARKET_ID"></div>
```

For example, if your storefront detects an English and USD session, set `data-market` to the Cevoid market ID for that language and market setup.

## Set currency separately

Set `data-market-currency` when prices and currency should come from a different market than the main `data-market`.

```html theme={"theme":{"light":"github-light","dark":"github-dark"}}
<div
  id="cevoid-container"
  data-gallery="GALLERY_ID"
  data-market="LANGUAGE_MARKET_ID"
  data-market-currency="CURRENCY_MARKET_ID"
></div>
```

This keeps language and product links from `data-market`, while price and currency come from `data-market-currency`.

## Hide prices

Set `data-hide-prices="true"` when product prices should be hidden in the widget.

```html theme={"theme":{"light":"github-light","dark":"github-dark"}}
<div id="cevoid-container" data-gallery="GALLERY_ID" data-hide-prices="true"></div>
```

## Related

* [Embed Galleries and Cards](./embed)
* [Dynamic Galleries](./dynamic-galleries)
* [Products and markets](/general/products-markets)
