### Quickly find Saleor products and variants and link them to DatoCMS

[

**This is a Community Plugin!** Learn how create your own plugin, or copy and remix existing ones in our documentation

](https://www.datocms.com/docs/plugin-sdk/introduction.md)

## DatoCMS Saleor plugin

:link: A plugin that enhances your product page, allowing you to quickly find Saleor products and variants and link them with DatoCMS.

## Plugin settings

You can search the plugin from the DatoCMS admin dashboard or install it from the [marketplace](https://www.datocms.com/marketplace/plugins/i/datocms-plugin-saleor.md).

Once installed, you can configure the endpoint, the channel and the token (if required) of your Saleor enviroment.

(Image content)

## Plugin usage

Apply Saloer plugin to a single-line text field into your model and select *Saleor Product* from the dropdown menu in the *Presentation* tab.

(Image content)

(Image content)

(Image content)

Now you can browse your Saleor products and variants searching them by name or sku.

The results shall be distinguished by specific tag: product or variant.

(Image content)

(Image content)

(Image content)

The selected product o variant will be displayed in the related record.

(Image content)

(Image content)

:tada: And finally you can query your field and get the product or variant id.

(Image content)

## Gotchas

If you want to link more than one product or variant you can use Saloer Product field inside [Modular Content Field](https://www.datocms.com/docs/content-modelling/modular-content.md)

## Thanks

Thanks for the inspiration to [DatoCMS Commerce Layer Plugin](https://www.datocms.com/marketplace/plugins/i/datocms-plugin-commercelayer.md)

Enjoy :punch: