Variant Metafield

Variant Metafield

Christopher-
Tourist
11 0 0

Hey there,

 

Variant Metafield doesn't change info when switching between variants.

 

Here’s the link to the product page: https://060ef5-5.myshopify.com/products/cupcake-catastrophe-ready-to-read-graphics-level-1-chi-chi-a...

 

15.10.2024_16.56.32_REC.png

 

I’ve been referring to this tutorial.


https://theprompted.co/blogs/tutorials/use-your-products-as-variants-free-tutorial

 

Thank you 

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10202 2422 3067

Hi @Christopher

 

If you refresh the page after changing the variant, the code you provided works, but doesn't update with a click. If you want to update the information with variant change, you will need a custom code added. You will need a developer to do this for you. If you are interested we can provide you a competitive quote. Message me if interested.

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

PaulNewton
Shopify Partner
7746 679 1613

Hi @Christopher- the metafield is working , the page content is not updating arbitrary content when variants change.

 

An advanced theme customization using javascript to update the info or used the section rendering api, etc is needed to have dynamic variant metafield displays. In some themes there may be pre-existing solutions for the code savvy to cobble something together.

 

Contact me for customization services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org