How to add a FAQ page
Go to Admin - Online Store - Pages. Click on the Add page in the upper right corner. It is gonna be the creation of the simple page.
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.meta fields.custom.faqs". Follow the instructions by pressing the Learn More.
Then go to Admin - Online Store - Customize. select Pages - FAQ page from the menu at the top of the theme editor. In the sidebar, you may see the Template - Page content. Within the theme configuration, it is possible to:
- Change the page content width.
- Specify a subtitle for the FAQ page.
- Show a search field to help users find questions quickly.
- Set a background color.
- Add a Faq block and specify a Heading for it.
How to show FAQ questions on the product page
Create meta fields with "JSON format" and the definition name "product.metafields.custom.faq".
Go to Admin - Settings - Content - Metaobjects - Custom data and click on Products. Press Add definition. This will allow you to create the new meta field that will be shown in the Product configuration. Fill in the field with the required details. 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 to focus on the Metafields section. In the FAQ field, you must create your Answer/Question in the following JSON format.
Example: {"Question-1":"Answer-1","Question-2":"Answer-2"}
Comments
0 comments
Please sign in to leave a comment.