# Shopify » Reference fields

A Shopify Reference field works similarly to the ACF reference type.\
\
From an editor's perspective, there is no functional difference, but the Liquid code now returns the referenced object directly without the need to do a lookup via a global object using a handle.\
\
So for example a Product reference returns the referenced product directly:

```liquid
{% assign ref_product = product.metafields.accentuate.ref_product.value %}
<p>The referenced product is {{ ref_product.title }}</p>
```

If you are referencing a file or an image from your Files list in Shopify, you can get the associated URL using the [Liquid filters *file\_url* and *file\_img\_url*:](https://shopify.dev/api/liquid/filters/url-filters#file_url)

```liquid
{% assign url = product.metafields.accentuate.ref_file.value | file_url %}
<p>The referenced file is {{ url }}</p>
```

{% hint style="warning" %}
Shopify reference field values cannot successfully be transferred to other stores due to the use of internal Shopify ids, which will vary across stores
{% endhint %}

{% hint style="success" %}
However, using ACF, you can choose to export Shopify Product references and Shopify Collection references using their respective handles, which you can then import into another store assuming the handles match across your stores
{% endhint %}
