Add Variant Metafield To Add Different Description.

purwajmiyani
Tourist
11 0 2

I have the product that has two (2) variants so I want to add different description to different variant in the collapsible row.

 
 
Replies 4 (4)

deepaksharma
Shopify Partner
448 62 92

Hey @purwajmiyani 

 

I think your problem is still not resolved no problem I am here to help you.

 

Head to Settings> Custom Data> Products (because we want it on the product page).

deepaksharma_0-1710147583056.png

 

Now Add Defination

it will open a form

Give the name as you like and select type Rich Text

deepaksharma_2-1710147840229.png

now you have created your metafield now go to your product and scroll to very bottom

 

Add description and save

deepaksharma_3-1710147947321.png

 

Now head to theme customization>Product Page

 

And Click on the Dynamic Button and select the metafield you created

deepaksharma_4-1710148046980.png

If you are unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully, it will help you. If yes then Please don't forget to hit Like and Mark it as the solution!

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com
purwajmiyani
Tourist
11 0 2

@deepaksharma I want to apply not on product but into the variant.

deepaksharma
Shopify Partner
448 62 92

How you are displaying your variant on the store front if not on the product page,

 

Since in Shopify Products and variants both shares the same page and that is Product page.

 

So I would like to know where you are showing the Variants so I can give you guide according to that

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com
purwajmiyani
Tourist
11 0 2

@deepaksharma signaturejewels.in is my website where I have listed different product and in the product I have variant Metal purity and for that I need to change variant description where I can specify the price breakdown