* Display total reviews widget on the collection page:
Each Shopify theme can have different file names to display the product list on the collection page. Find a suitable position to display total reviews. Snippet code below you can add.
{%include'a2reviews-total'type:'collection'%} (new version)Or (commonly used with product loops using ajax){%render'a2reviews-total'type:'collection'product:product%} (new version)In old version{%render'a2reviews-collection-total'product:product%} (Removed)
* Main reviews / QA widget snippet code, (Mostly added in the file templates/product.liquid)
Online Store 2.0 is a set of features and feature improvements that make themes and theme apps easier to build, more flexible, and easier to maintain.
Many Online Store 2.0 features rely on JSON templates. You can migrate a theme's templates to add support for these features by converting a Liquid template into a JSON template, and moving any required Liquid code or HTML into sections that you can include in the new JSON template.
For Online Store 2.0 theme, setting widget display on product page will be added in templates/product.json file. With the general A2Reviews application will be added with the reference example below.