How to add a FAQ page
To create Shopify's FAQ page, go to Admin - Online Store- Pages. Here you have to add a simple page. Click on the Add page in the upper right corner.
Note: Assigning the FAQ page to our theme template is important. Please select faqs in the dropdown. Then you must create meta fields with "JSON format" and the definition name "page.metafields.custom.faqs". Pay close attention to the plural form faqs (not faq). Please don't make any changes in the Namespace and key fields. This is how it should look:
Now go to Admin - Online Store - Customize. From the menu at the top of the theme editor, select Pages - FAQ page. In the sidebar you may see the Template section - FAQ page content. Here you can set the subtitle for FAQs.
How to show FAQ questions on the product page
You must create meta fields with "JSON format" and the definition name "product.metafields.custom.faq".
Go to Admin - Settings - Custom data click on Products. Press Add definition. This will allow you to create the new meta field shown in the Product configuration. Fill in the field with the required information. Click on Select Type and choose JSON in the dropdown.
Then go to the Product you want to assign the FAQ questions block. Scroll to the bottom and you will see the Metafields section. In the FAQ field, you must create your own Answer/Question in the following JSON format.
Example: {"Question-1":"Answer-1","Question-2":"Answer-2"}
How to add hyperlinks to FAQs answer
You have to edit the metafield JSON field.
Example: {"Question-1":"Answer-1 \"<a href='url_to'>Link</a>\" some text","Question-2":"Answer-2"}
Comments
0 comments
Please sign in to leave a comment.