To show FAQ questions on the Charge theme product page, you have to create meta fields with "JSON format" and the definition name 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.
Get back to Admin and click on Products. Choose 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 Answers/Questions in the following JSON format.
Example: {"Question-1":"Answer-1","Question-2":"Answer-2"}
Remember to Save and enjoy the results of your efforts.
How to add hyperlinks to FAQs answer
With the Charge theme, you can also add clickable hyperlinks to improve the navigation and usability.
You have simply to edit the meta field JSON field as follows:
Example: {"Question-1":"Answer-1 \"<a href='url_to'>Link</a>\" some text","Question-2":"Answer-2"}
In case you want to add a FAQ page to your Shopify store, read another guide.
Comments
0 comments
Please sign in to leave a comment.