Personalized checkout and custom promotions with Shopify Scripts
Hi,
I have created in my store a metaobject definition like below:
The field's definition:
Then, I created an entry like below:
However, when I try to access the code in my theme via liquid like so:
<script>
console.log('{{ shop.metaobjects.merchant_return_policy['merchant-return-days-default'].text }}');
</script>
I don't see anything in the console.
User | RANK |
---|---|
4 | |
2 | |
2 | |
1 | |
1 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023