8 reviews in the database, 8 visible, 0 hidden.
All ratings
5 ★ 4 ★ 3 ★ 2 ★ 1 ★
All
Visible
Hidden
Filter
Reviews widget
Add the widget to a layout position (Design > Layouts) or put the shortcode into the description of an information page or category: {{ocm_greviews}}
Floating badge
Structured data (schema.org)
JSON-LD with the type below and an AggregateRating (rating, number of ratings), so that search engines can show your stars. On by default.
Google API key
Open the Google Cloud Console (console.cloud.google.com), create or pick a project and enable billing (a free monthly credit covers the use of this module).
APIs & Services > Library: enable "Places API (New)".
APIs & Services > Credentials > Create credentials > API key. Restrict the key: application restriction "IP addresses" with the IP of your server, API restriction "Places API (New)".
Paste the key above and save. The key is used only by your server, it is never shown to the visitors.
Place ID
The Place ID names your Google Business profile. Type the name and the city of your store in the search box and pick it from the results, or copy it from Google's Place ID Finder (developers.google.com/maps/documentation/places/web-service/place-id).
Costs
The module asks Google once per refresh interval (one request a day by default) and keeps the answer in the database, so a store spends a few cents a month at most, well inside the free credit of Google Maps Platform. Google returns the five most relevant reviews per request; the module keeps every review it has seen, so the list grows over time.
Where the reviews show
Layout position: Design > Layouts, add "OCMasters Google Reviews" to a position (Content Top / Bottom of the home page work best). Journal 3: add the item "OpenCart Module" > "OCMasters Google Reviews" in the Journal layout builder.
Any page or category: put this shortcode into the description: {{ocm_greviews}}
Floating badge on every page (tab Appearance).
schema.org AggregateRating as JSON-LD, so the search engines learn your rating (the reviews themselves are not included: Google does not accept self-serving reviews in rich results).
Link of the "Write a review" button: https://search.google.com/local/writereview?placeid=ChIJTESTocmastersPlace0001