MetafieldsGuru
Shopify Partner
Contact Me
Status
Offline
Last Activity
‎03-08-2024 09:09 AM
Topic Started
0
Topics Started
Topic Solutions
32
Solutions
Post Count
158
Posts
Post Kudos
96
Likes

Community Badges

I've got a quick but a really tricky question to ask here today. Let me start with a little background. Recently we've released the updated version of our app including the bulk editing functionalit...
No content to show

User Activity

If you open the page shared by MrL22 and press the big green button labeled "How to use", you will see the instructions section, which guides users through generating the JSON for the future table and modifying the source code of their theme to integ...
Hi Toplocations, Sasha here from Metafields Guru. The answer to your question. From the looks of it, you are working with a collection reference metafield. The payload returned by Liquid for this type of metafield is a collection object. Unfortunatel...
Hi @martinpaulnorth , Yes, it is possible to create a metafield via REST API:Once a metafield is created, it can be used store wide as shown here.
Hi @fbx20541606 , The payload returned for this metafield type is an array of image objects. So you should process it accordingly. You may want to use code like this (with proper CSS rules applied, of course):{% assign array_of_image_objects = produc...
You're welcome!Yet another cool thing is that I wasn't trying to promote our app. This thread actually contains a solution that might work for you as well, if you're familiar with Liquid and JavaScript.
Hi @imatikshaikh , You may want to refer to this solved thread for a possible solution.
Hi @Guts- , Upon a brief investigation, it appears that Shopify doesn’t create or restore database backups for their merchants’ stores.In case you have created a CSV backup of metafields prior to this data loss accident, you can easily get the data r...
There must be a bug in your code then. I just tried this approach and it worked like a charm.Image settings:Code: {% assign image_object = product.metafields.timer_test.image.value %} {% if image_object %} <h3>Image:</h3> <img class="metafield-im...
Hi @mitchelldirt , Here's an example of a properly formatted JSON:{ "namespace":"related_products", "key":"product_list", "value":"[\"gid:\/\/shopify\/Product\/4558550859913\",\"gid:\/\/shopify\/Product\/4558550499465\",\"gid:\/\/shopify\/Pr...
Hi @lamez , Welcome to the Shopify community While Liquid does have some tricks for sorting arrays, I'm afraid there's no default solution to your specific problem. However, you can do that by applying conditional logic to your code as shown here. O...
Hi @Bulxar , It's doable, but only if you're using the "file_reference" metafield type to store images. In this case, the standard payload returned by Liquid will be a generic file object, which just happens to have an alt field easily accessible.
Hi @jake_mitchell  , Indeed, it's a shame that users can't sort or group metafield definitions. It would've been a handy feature for content managers, as pointed out by Jason.The good news is that there is a solution to this problem. If you are open ...
Got it. The thing is that different parts of your Shopify store are controlled by different templates/theme files. Which means that adding the Liquid code to the product page template won't make the data visible on a collection (?) page. Since there'...
Hi @TheFabFriend21 , You may want to check out this step-by-step tutorial. It shows how to display a metafield on the product page in two different ways: using the visual theme customization tool or by editing the source code directly (as suggested b...
Hi @ellekaie , The thing is that a product's meta description is indeed stored as a metafield:Here's the link to the docs from my screenshot. You can check it with a pretty simple test:1) Create a dummy product without the meta and default descriptio...
This widget could not be displayed.
This widget could not be displayed.