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.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024