How can I automatically change metafield values per product?

Hey All, Is there a way to have my metafields value change per product. For Example, Instead of me doing this manually for each and everyone of my products, is there a way automatically where the values can change without my doing? What i want to change per product is the ( $ Amount ) And the (% Amount )

I am also attaching the custom liquid I have added in my customization theme editor. Hopefully this is all the information needed to help!

Hi [email removed]Lifegetseasy,

This is Victor from PageFly - Landing Page Builder App

If you can share for me product template then I will give you code auto change for different product

Hope my solution works perfectly for you!

Best regards,

Victor | PageFly

Hey Victor, Here is my product page. Hope this helps! https://lifegetseasy4u.com/products/antigravity-humidifier?variant=42971257077891

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid.

Step 3: Paste the below code at the before element of the file → Save

{% if template contains “product” %}

{% endif %}

you can remove code metafield. my code will auto create text and update when you change variant

Thank you for that code, I do see where it says “You Save” But no price adjustment is being shown.

Hi @Lifegetseasy ,

You can duplicate and add my code again. After that, you can give me a preview link and I will check the code. If I have access store I will add it for you quickly. I will wait for your reply. Thanks

I can gladly provide you access. Do you mind dming your email.

Thank you, you can give me access by my email.
[email removed]

Hi @Lifegetseasy ,

After you shared access, I discussed with my teammate to solve the problem for you. Please check whether it works well for you.

Hope my solution works perfectly for you!

Best regards,

Victor | PageFly