Hi everyone - I am trying to figure out which countries my products are compliant to sell into (e.g. can I sell in additional countries outside of the US, and which countries are my products already compliant to do so?). I’d like to pick others’ brains to understand how you have attacked this problem. Does Shopify provide any resources? Is this something I should even be worried about?
Hi @mf13854
That new Shopify metafield is a metaobject reference, not a simple text list, so the code is different.
You need to loop through the list and access each item’s name. The .join filter won’t work directly on the object list.
{%- assign preferences = product.metafields.shopify.dietary-preferences.value -%}
{%- if preferences.size > 0 -%}
<p>Dietary Preferences:<br>
{%- for item in preferences -%}
{{ item.name }}{%- unless forloop.last -%}, {%- endunless -%}
{%- endfor -%}
</p>
{%- endif -%}
Hope this helps!
Hey @mf13854! Shopify doesn’t tell you which countries your products are compliant for, that part depends on the product category and each country’s rules. Most people handle this by asking their manufacturer which regions the product is already approved for, and then checking the import regulations of any new country they want to sell into. If your products are simple/non-regulated (like clothing), it’s usually not a big concern. ![]()
Hi @mf13854
You’ll want to focus on product regulations, import restrictions, and local laws for each country. Shopify doesn’t provide a compliance checker, so most merchants research via government trade sites, customs agencies, or industry-specific associations. For scalable growth, consider consulting with a compliance expert or using services that track international product regulations.