Hi I’m trying to insert different descriptions for different products by using metafiles. And I have 2 issues.
When adding the metafield to the collapsible row i.e. “Description”, the text of the field does not how. Could you please help? Hopefully no need to input a code since I would prefer to adjust everything from the settings / custom data secton.
Go to Edit code > product template and find the exact place of the description tab in your template and write the code in below format-
{{ product.metafield.product_description }}
For example I just used above Metafield key name, in your case it will be different so use your metafield key instead of this, once you do this your text will be show.
And for the add more than 100 character use multi-line text content type.
Hi thank you, but I would like to populate the metafield code just by dragging down the field into the collapsible row settings from the theme’s portal (not going to the edit code window)
and even with multi-line it does not let me more than 100 characters
@ddddrs Please check whether you have followed all the steps mentioned below to insert different descriptions for different products by using metafields. Let me know whether it is helpful for you.
Step 1: Create a metafield definition
From admin, go to “Settings” → “Custom data”.
In the Metafield definiton section, click “Products”.
Click “Add definition”.
Name your metafield definition like “description” or your custom name and click “Select type” and select the “Multi-line text” like in the below attached screenshot.
Click the “Row content from page” dropdown and select “Product”. This is the important step to follow. Check whether you have selected “Product” from the dropdown.
2. Is there a way to add more than 100 characters description using multi-line text in a metafile?
Yes, you can add more than 100 characters description using multi-line text in metafield. To achieve that, choose the type “Multi-line text” while “Select type” in creating metafields.
Please provide your support by click “Like” and “Accepted” if our solution works for you. Thanks for your support.